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