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