]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/samsung/smdk6400/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / samsung / smdk6400 / Makefile
index 71302205ebca8cc6144be9e5f7895518c34767dd..40bf57e91f5eed281d60687e43f5e2f848fbd855 100644 (file)
@@ -26,7 +26,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS-y        := smdk6400.o
 SOBJS  := lowlevel_init.o
@@ -36,7 +36,7 @@ OBJS  := $(addprefix $(obj),$(COBJS-y))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(SOBJS) $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(SOBJS) $(OBJS)
+       $(call cmd_link_o_target, $(SOBJS) $(OBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)