]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/colibri_pxa270/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / colibri_pxa270 / Makefile
index f8b44abee008f064a9a61a377f97813c3e91fe78..40b3a3d50e050e4f7a726916ec8aec3fe69f448a 100644 (file)
@@ -21,7 +21,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := colibri_pxa270.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)