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