summaryrefslogtreecommitdiff
path: root/board/samsung/smdk6400/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/samsung/smdk6400/Makefile')
-rw-r--r--board/samsung/smdk6400/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/samsung/smdk6400/Makefile b/board/samsung/smdk6400/Makefile
index 71302205ebc..40bf57e91f5 100644
--- a/board/samsung/smdk6400/Makefile
+++ b/board/samsung/smdk6400/Makefile
@@ -26,7 +26,7 @@
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).o
COBJS-y := smdk6400.o
SOBJS := lowlevel_init.o
@@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(SOBJS) $(OBJS)
- $(AR) $(ARFLAGS) $@ $(SOBJS) $(OBJS)
+ $(call cmd_link_o_target, $(SOBJS) $(OBJS))
clean:
rm -f $(SOBJS) $(OBJS)