summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-21 19:59:04 -0500
committerWolfgang Denk <wd@denx.de>2010-01-26 00:05:42 +0100
commite852d36a1e12864ab0656729c45c846e65efa4ee (patch)
tree45e612a39405a5e3071bc3ab7083a12df742ea6d
parent44431cabbb66e81a2d77642b6f7d39c6230ea4ba (diff)
tools: give explicit libfdt paths
The current libfdt object rules hard depend implicitly on the .depend file being correct. If it isn't, then it is unable to properly compile the objects. Give it a full path like all the other implicit rules here so it will always work in face of .depend issues. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index f8b69de63e5..266306e9bac 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -196,7 +196,7 @@ $(obj)%.o: $(SRCTREE)/common/%.c
$(obj)%.o: $(SRCTREE)/lib_generic/%.c
$(HOSTCC) -g $(HOSTCFLAGS) -c -o $@ $<
-$(LIBFDT_OBJS):
+$(obj)%.o: $(SRCTREE)/libfdt/%.c
$(HOSTCC) -g $(HOSTCFLAGS_NOPED) -c -o $@ $<
subdirs: