]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/amcc/yosemite/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / amcc / yosemite / Makefile
index b93f2c3890ef77b66ed5f5a3afa2365c1501963b..5b0ffc29209a37d33567d66b67750008bba7309d 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o
 SOBJS  = init.o
@@ -33,7 +33,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)