]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: Update to new build process
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 20 Mar 2012 23:00:13 +0000 (18:00 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 21 Mar 2012 18:13:48 +0000 (13:13 -0500)
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
arch/arm/cpu/armv7/pele/Makefile
board/xilinx/dfe/Makefile

index 2864405549a9ec0b206ceb5e7693a8e9111fe805..1392b1e47f13a73b19dbd370e9f5049561461a76 100644 (file)
@@ -26,7 +26,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(SOC).a
+LIB    = $(obj)lib$(SOC).o
 
 COBJS-y        = timer.o 
 
@@ -35,7 +35,7 @@ OBJS  := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
 all:   $(obj).depend $(START) $(LIB)
 
 $(LIB):        $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################
 
index fd435d58a3b4c69373a3ed092a73c670cae828d9..235d0ea232cd70b0fd4a6c53c94ea806297b7606 100644 (file)
@@ -26,7 +26,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common)
 endif
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := board.o \
           xemacpss_g.o xemacpss_control.o xemacpss_sinit.o \
@@ -44,7 +44,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)