]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - lib/lzo/Makefile
Switch from archive libraries to partial linking
[people/ms/u-boot.git] / lib / lzo / Makefile
index 5dd1bf57758fdff07e15ae4ad0a5bd2e3b538cb8..69bc8392213f2448356a0d209961c863d4e76707 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)liblzo.a
+LIB    = $(obj)liblzo.o
 
 SOBJS  =
 
@@ -34,7 +34,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))
 
 #########################################################################