summaryrefslogtreecommitdiff
path: root/board/cerf250/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/cerf250/Makefile')
-rw-r--r--board/cerf250/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/cerf250/Makefile b/board/cerf250/Makefile
index b111b519f08..d824ffa0d78 100644
--- a/board/cerf250/Makefile
+++ b/board/cerf250/Makefile
@@ -23,7 +23,7 @@
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).o
COBJS := cerf250.o flash.o
@@ -31,7 +31,7 @@ SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
$(LIB): $(obj).depend $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
clean:
rm -f $(OBJS)