]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ti/panda/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / ti / panda / Makefile
index 81e54692bb3bf70f4b6b7874e9c9921c0da7560f..21864037327a5674f80ad093a60dc1f46e41e89b 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := panda.o
 
@@ -31,7 +31,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)