[U-Boot] [PATCH] 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 --- tools/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/Makefile b/tools/Makefile index d3b1518..0f42b74 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -194,7 +194,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:

Dear Mike Frysinger,
In message 1264121944-12435-1-git-send-email-vapier@gentoo.org you wrote:
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
tools/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Mike Frysinger
-
Wolfgang Denk