summaryrefslogtreecommitdiff
path: root/board/bmw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/bmw/Makefile')
-rw-r--r--board/bmw/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/bmw/Makefile b/board/bmw/Makefile
index ac85cc3506a..4f88efafd46 100644
--- a/board/bmw/Makefile
+++ b/board/bmw/Makefile
@@ -27,7 +27,7 @@
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).o
COBJS = $(BOARD).o flash.o ns16550.o serial.o m48t59y.o
@@ -38,7 +38,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))
#########################################################################