From: Mike Frysinger Date: Fri, 22 Jan 2010 00:59:04 +0000 (-0500) Subject: tools: give explicit libfdt paths X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=e852d36a1e12864ab0656729c45c846e65efa4ee;p=u-boot.git 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 --- diff --git a/tools/Makefile b/tools/Makefile index f8b69de63e..266306e9ba 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: