]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/davedenx/aria/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / davedenx / aria / Makefile
index 2e3d73a351398066bd7fd5d0a4a9398528617bc0..30dba232651169ffa40cd64bc70567adb616ed57 100644 (file)
@@ -22,7 +22,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS-y        := $(BOARD).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)