summaryrefslogtreecommitdiffstats
path: root/board/atum8548/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/atum8548/Makefile')
-rw-r--r--board/atum8548/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/atum8548/Makefile b/board/atum8548/Makefile
index b991308191..0bb9ec86ec 100644
--- a/board/atum8548/Makefile
+++ b/board/atum8548/Makefile
@@ -27,7 +27,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)../common)
endif
-LIB = $(obj)lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).o
COBJS-y += $(BOARD).o
COBJS-y += law.o
@@ -39,7 +39,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
clean:
rm -f $(OBJS) $(SOBJS)
OpenPOWER on IntegriCloud