]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/afeb9260/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / afeb9260 / Makefile
index 73187fb70d8f7313c6df0f94b8abe55b134e9f33..895412d72dcb301168bbb0d3f67a171adec3d83d 100644 (file)
@@ -27,7 +27,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS-y        += afeb9260.o
 COBJS-y        += partition.o
@@ -37,7 +37,7 @@ OBJS  := $(addprefix $(obj),$(COBJS-y))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)