Skip to content
Snippets Groups Projects
Commit c4aaf2e0 authored by Pavel Machek's avatar Pavel Machek Committed by Tom Rini
Browse files

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: default avatarPavel Machek <pavel@denx.de>
parent bf678dfd
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment