summaryrefslogtreecommitdiff
path: root/board/netstal/mcu25/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/netstal/mcu25/Makefile')
-rw-r--r--board/netstal/mcu25/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/netstal/mcu25/Makefile b/board/netstal/mcu25/Makefile
index cd62642894..a983de9f90 100644
--- a/board/netstal/mcu25/Makefile
+++ b/board/netstal/mcu25/Makefile
@@ -23,7 +23,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif
-LIB = $(obj)lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).o
COBJS = $(BOARD).o \
../common/fixed_sdram.o \
@@ -33,7 +33,7 @@ SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
$(LIB): $(OBJS)
- $(AR) $(ARFLAGS) $@ $^
+ $(call cmd_link_o_target, $^)
clean:
rm -f $(OBJS)