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