diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 4 | ||||
-rw-r--r-- | lib/libfdt/Makefile | 4 | ||||
-rw-r--r-- | lib/lzma/Makefile | 4 | ||||
-rw-r--r-- | lib/lzo/Makefile | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/Makefile b/lib/Makefile index a8de3e1..ffdee7d 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)libgeneric.a +LIB = $(obj)libgeneric.o COBJS-$(CONFIG_ADDR_MAP) += addr_map.o COBJS-$(CONFIG_BZIP2) += bzlib.o @@ -59,7 +59,7 @@ SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) $(LIB): $(obj).depend $(OBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) + $(call cmd_link_o_target, $(OBJS)) ######################################################################### diff --git a/lib/libfdt/Makefile b/lib/libfdt/Makefile index d6e2830..c965577 100644 --- a/lib/libfdt/Makefile +++ b/lib/libfdt/Makefile @@ -23,7 +23,7 @@ include $(TOPDIR)/config.mk -LIB = $(obj)libfdt.a +LIB = $(obj)libfdt.o SOBJS = @@ -38,7 +38,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)) ######################################################################### diff --git a/lib/lzma/Makefile b/lib/lzma/Makefile index 57f03b0..4d3401d 100644 --- a/lib/lzma/Makefile +++ b/lib/lzma/Makefile @@ -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)) ######################################################################### diff --git a/lib/lzo/Makefile b/lib/lzo/Makefile index 5dd1bf5..69bc839 100644 --- a/lib/lzo/Makefile +++ b/lib/lzo/Makefile @@ -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)) ######################################################################### |