Skip to content

Commit

Permalink
fix makefiles to respect DTC setting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pavel Machek authored and trini committed Apr 7, 2015
1 parent bf678df commit c4aaf2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Makefile.lib
Expand Up @@ -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)
Expand Down

0 comments on commit c4aaf2e

Please sign in to comment.