]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/sbc8260/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / sbc8260 / Makefile
index 034a55169c16480a85b3d9e122ed7cd40f28e572..f1d86fc173db5acef5417156e7107ba1cee4be66 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := sbc8260.o flash.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)