Skip to contentSkip to conversation

fix makefiles to respect DTC setting

U-Boot Pavel Machek 2 participants 2 messages Apr 6, 2015 – Apr 7, 2015 Kbuild

lore
Share & tools
lore
#0 lore raw

Top-level Makefile has option to select dtc binary, but it is ignored due to bug in Makefile.lib. Fix it.

scripts/Makefile.lib +1 -1
index 13af604..8731fc6 100644
@@ -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)
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw

scripts/Makefile.lib

Quoted 7 lines · Pavel Machek

Top-level Makefile has option to select dtc binary, but it is ignored due to bug in Makefile.lib. Fix it.

scripts/Makefile.lib +0 -0
index 13af604..8731fc6 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150407/4c4c4c75/attachment.sig>