]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - lib/lzma/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / lib / lzma / Makefile
index 57f03b0cd784637dc95fa252054fa477736b3943..4d3401dfa1c89f05be405334aa795eab59f8c80d 100644 (file)
@@ -26,7 +26,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)liblzma.a
+LIB    = $(obj)liblzma.o
 
 SOBJS  =
 
@@ -39,7 +39,7 @@ SRCS  := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################