diff options
Diffstat (limited to 'board/o2dnt/Makefile')
-rw-r--r-- | board/o2dnt/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/o2dnt/Makefile b/board/o2dnt/Makefile index 58afd7b6597..3c99739bdbf 100644 --- a/board/o2dnt/Makefile +++ b/board/o2dnt/Makefile @@ -24,7 +24,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)lib$(BOARD).a +LIB = $(obj)lib$(BOARD).o COBJS := $(BOARD).o flash.o @@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) $(LIB): $(obj).depend $(OBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) + $(call cmd_link_o_target, $(OBJS)) clean: rm -f $(SOBJS) $(OBJS) |