]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/gdsys/dlvision/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / gdsys / dlvision / Makefile
index 1270feafc256fe879f26fb521a492aae080337cc..1c3dadb30632f74f4ab66e90cea5cbe93ff0f6e1 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o
 SOBJS   =
@@ -33,7 +33,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)