* [PATCH] ARM: Make sure dtc is built before running it
@ 2012-08-28 18:59 David Brown
2012-08-30 19:47 ` Jason Cooper
0 siblings, 1 reply; 2+ messages in thread
From: David Brown @ 2012-08-28 18:59 UTC (permalink / raw)
To: Russell King; +Cc: David Brown, linux-arm-kernel, linux-kernel, linux-arm-msm
'make dtbs' in a clean tree will try running the dtc before actually
building it. Make these rules depend upon the scripts to build it.
---
arch/arm/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 0298b00..926d840 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -279,10 +279,10 @@ zImage Image xipImage bootpImage uImage: vmlinux
zinstall uinstall install: vmlinux
$(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@
-%.dtb:
+%.dtb: scripts
$(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@
-dtbs:
+dtbs: scripts
$(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@
# We use MRPROPER_FILES and CLEAN_FILES now
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: Make sure dtc is built before running it
2012-08-28 18:59 [PATCH] ARM: Make sure dtc is built before running it David Brown
@ 2012-08-30 19:47 ` Jason Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Jason Cooper @ 2012-08-30 19:47 UTC (permalink / raw)
To: David Brown; +Cc: Russell King, linux-arm-msm, linux-kernel, linux-arm-kernel
On Tue, Aug 28, 2012 at 11:59:58AM -0700, David Brown wrote:
> 'make dtbs' in a clean tree will try running the dtc before actually
> building it. Make these rules depend upon the scripts to build it.
David,
Could you please send this into rmk's queue? [1] This fix has been
cropping up by various submitters for the past 6 months or so, it would
be nice to finally get it in.
thx,
Jason.
[1] http://www.arm.linux.org.uk/developer/patches/
> ---
> arch/arm/Makefile | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> index 0298b00..926d840 100644
> --- a/arch/arm/Makefile
> +++ b/arch/arm/Makefile
> @@ -279,10 +279,10 @@ zImage Image xipImage bootpImage uImage: vmlinux
> zinstall uinstall install: vmlinux
> $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@
>
> -%.dtb:
> +%.dtb: scripts
> $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@
>
> -dtbs:
> +dtbs: scripts
> $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@
>
> # We use MRPROPER_FILES and CLEAN_FILES now
> --
> Sent by an employee of the Qualcomm Innovation Center, Inc.
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-30 19:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-28 18:59 [PATCH] ARM: Make sure dtc is built before running it David Brown
2012-08-30 19:47 ` Jason Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).