summaryrefslogtreecommitdiff
path: root/lib/libfdt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libfdt')
-rw-r--r--lib/libfdt/Makefile4
1 files changed, 2 insertions, 2 deletions
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))
#########################################################################