From: Pavel Machek Date: Mon, 6 Apr 2015 13:46:44 +0000 (+0200) Subject: fix makefiles to respect DTC setting X-Git-Tag: v2015.04~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c4aaf2e0a6b6d215b5b6146b5502200f67d2ad0a;p=oweals%2Fu-boot.git fix makefiles to respect DTC setting Top-level Makefile has option to select dtc binary, but it is ignored due to bug in Makefile.lib. Fix it. Signed-off-by: Pavel Machek --- diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 13af604e5f..8731fc64b4 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -275,7 +275,7 @@ $(obj)/%.dtb.S: $(obj)/%.dtb quiet_cmd_dtc = DTC $@ # Modified for U-Boot cmd_dtc = $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ - dtc -O dtb -o $@ -b 0 \ + $(DTC) -O dtb -o $@ -b 0 \ -i $(dir $<) $(DTC_FLAGS) \ -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)