]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/bc3450/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / bc3450 / Makefile
index 9c1d0cc5612bb23cd87513b7c88ba23e5f53066b..53aa651ad68fc4b77f659b5efdf849c0a84cacf9 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := $(BOARD).o cmd_bc3450.o
 
@@ -32,7 +32,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)