public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] fix makefiles to respect DTC setting
@ 2015-04-06 13:46 Pavel Machek
  2015-04-07 17:59 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2015-04-06 13:46 UTC (permalink / raw)
  To: u-boot


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>

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 13af604..8731fc6 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)

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] fix makefiles to respect DTC setting
  2015-04-06 13:46 [U-Boot] fix makefiles to respect DTC setting Pavel Machek
@ 2015-04-07 17:59 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2015-04-07 17:59 UTC (permalink / raw)
  To: u-boot

On Mon, Apr 06, 2015 at 03:46:44PM +0200, Pavel Machek wrote:

> 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>
> 
> diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
> index 13af604..8731fc6 100644

Applied to u-boot/master, thanks!

-- 
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-07 17:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-06 13:46 [U-Boot] fix makefiles to respect DTC setting Pavel Machek
2015-04-07 17:59 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox