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