]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/eukrea/cpu9260/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / eukrea / cpu9260 / Makefile
index e98b5418cac5a6e4f234c9cf0b3031b5554d8d1e..4d02aae0b542dcc37a1c8e40dcb1ab47e8ce185a 100644 (file)
@@ -31,7 +31,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS-y += $(BOARD).o
 COBJS-y += led.o
@@ -41,7 +41,7 @@ OBJS  := $(addprefix $(obj),$(COBJS-y) $(SOBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)