X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=board%2Fxes%2Fcommon%2FMakefile;h=7604f626bbc98f668c5f9eb4117dd76fb2bbca4f;hb=52eb2c79110151b9017a0829c4d44ee7b8e2ca04;hp=16e0b66218a446a684245b3392ab7835d0e4726c;hpb=d963e84c92a63b4e6c4f2f80482a5ecbe9b24fe0;p=karo-tx-uboot.git 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)