]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/omap4/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / omap4 / Makefile
index d926fbb48024f69143c5c9968788ddfd09d2ed48..987dc9d78c27401f167dff767a6a328c6c201bb7 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    =  $(obj)lib$(SOC).a
+LIB    =  $(obj)lib$(SOC).o
 
 SOBJS  += lowlevel_init.o
 
@@ -37,7 +37,7 @@ OBJS  := $(addprefix $(obj),$(COBJS) $(SOBJS))
 all:    $(obj).depend $(LIB)
 
 $(LIB):        $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################