Commit c4aaf2e0a6b6d215b5b6146b5502200f67d2ad0a

Authored by Pavel Machek
Committed by Tom Rini
1 parent bf678dfd42

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 <pavel@denx.de>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

scripts/Makefile.lib
... ... @@ -275,7 +275,7 @@
275 275 quiet_cmd_dtc = DTC $@
276 276 # Modified for U-Boot
277 277 cmd_dtc = $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
278   - dtc -O dtb -o $@ -b 0 \
  278 + $(DTC) -O dtb -o $@ -b 0 \
279 279 -i $(dir $<) $(DTC_FLAGS) \
280 280 -d $(depfile).dtc.tmp $(dtc-tmp) ; \
281 281 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)