summaryrefslogtreecommitdiff
path: root/board/esd/apc405/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/apc405/Makefile')
-rw-r--r--board/esd/apc405/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/apc405/Makefile b/board/esd/apc405/Makefile
index 9114606557..df391da6c2 100644
--- a/board/esd/apc405/Makefile
+++ b/board/esd/apc405/Makefile
@@ -26,7 +26,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif
-LIB = $(obj)lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).o
COBJS = $(BOARD).o \
../common/misc.o \
@@ -37,7 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(OBJS) $(SOBJS)
- $(AR) $(ARFLAGS) $@ $^
+ $(call cmd_link_o_target, $^)
clean:
rm -f $(SOBJS) $(OBJS)