summaryrefslogtreecommitdiff
path: root/board/xes/common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/xes/common/Makefile')
-rw-r--r--board/xes/common/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/xes/common/Makefile b/board/xes/common/Makefile
index 16e0b66218..7604f626bb 100644
--- a/board/xes/common/Makefile
+++ b/board/xes/common/Makefile
@@ -27,7 +27,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
$(shell mkdir -p $(obj)board/$(VENDOR)/common)
endif
-LIB = $(obj)lib$(VENDOR).a
+LIB = $(obj)lib$(VENDOR).o
COBJS-$(CONFIG_FSL_PCI_INIT) += fsl_8xxx_pci.o
COBJS-$(CONFIG_MPC8572) += fsl_8xxx_clk.o
@@ -44,7 +44,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
clean:
rm -f $(SOBJS) $(OBJS)