]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/balloon3/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / balloon3 / Makefile
index 7db615e943b2f23a3f758ed19d1bbc0a51aa32a9..29e79150f934cc9c15d42f2544c122e70137c3ef 100644 (file)
@@ -21,7 +21,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := balloon3.o
 
@@ -29,7 +29,7 @@ SRCS  := $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 clean:
        rm -f $(OBJS)