summaryrefslogtreecommitdiff
path: root/board/spear/common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/spear/common/Makefile')
-rw-r--r--board/spear/common/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/spear/common/Makefile b/board/spear/common/Makefile
index 4f8959f529..e0df6c1fe6 100644
--- a/board/spear/common/Makefile
+++ b/board/spear/common/Makefile
@@ -27,7 +27,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)board/$(VENDOR)/common)
endif
-LIB = $(obj)lib$(VENDOR).a
+LIB = $(obj)lib$(VENDOR).o
COBJS := spr_misc.o
SOBJS := spr_lowlevel_init.o
@@ -37,7 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+ $(call cmd_link_o_target, $(OBJS) $(SOBJS))
clean:
rm -f $(SOBJS) $(OBJS)