]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/xes/xpedite550x/Makefile
Switch from archive libraries to partial linking
[people/ms/u-boot.git] / board / xes / xpedite550x / Makefile
index 8980a4b3f6aae87a08873aee5243009492aa9123..7bc224c4495a8b6fc14534aa22e2ad180c1cefca 100644 (file)
@@ -9,7 +9,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS-y        += $(BOARD).o
 COBJS-y        += ddr.o
@@ -21,7 +21,7 @@ OBJS  := $(addprefix $(obj),$(COBJS-y))
 SOBJS  := $(addprefix $(obj),$(SOBJS-y))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 clean:
        rm -f $(OBJS) $(SOBJS)