Message ID | 1356741767-29292-1-git-send-email-swarren@wwwdotorg.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Dec 28, 2012 at 05:42:46PM -0700, Stephen Warren wrote: > From: Stephen Warren <swarren@nvidia.com> > > if_changed (used by the *.dts->*.dtc rule) rebuilds files if they aren't > contained in $(targets). (make V=2 indicates this). Add $(dtb-y) to > $(targets) to prevent *.dtb from always being rebuilt. > > This fixes a regression introduced by the .dtb rule rework in 499cd82 > "ARM: dt: change .dtb build rules to build in dts directory". > > Reported-by: Shawn Guo <shawn.guo@linaro.org> > Signed-off-by: Stephen Warren <swarren@nvidia.com> Not sure who you have in mind to apply this, but if it's not through arm-soc: Acked-by: Olof Johansson <olof@lixom.net> -Olof
On 12/29/2012 10:32 PM, Olof Johansson wrote: > On Fri, Dec 28, 2012 at 05:42:46PM -0700, Stephen Warren wrote: >> From: Stephen Warren <swarren@nvidia.com> >> >> if_changed (used by the *.dts->*.dtc rule) rebuilds files if they aren't >> contained in $(targets). (make V=2 indicates this). Add $(dtb-y) to >> $(targets) to prevent *.dtb from always being rebuilt. >> >> This fixes a regression introduced by the .dtb rule rework in 499cd82 >> "ARM: dt: change .dtb build rules to build in dts directory". >> >> Reported-by: Shawn Guo <shawn.guo@linaro.org> >> Signed-off-by: Stephen Warren <swarren@nvidia.com> > > Not sure who you have in mind to apply this, but if it's not through arm-soc: > > Acked-by: Olof Johansson <olof@lixom.net> I was assuming through the device tree tree, since that's where the dtc rule rework went through, but I think it's mostly just about whoever picks it up:-)
On 12/31/2012 10:39 AM, Stephen Warren wrote: > On 12/29/2012 10:32 PM, Olof Johansson wrote: >> On Fri, Dec 28, 2012 at 05:42:46PM -0700, Stephen Warren wrote: >>> From: Stephen Warren <swarren@nvidia.com> >>> >>> if_changed (used by the *.dts->*.dtc rule) rebuilds files if they aren't >>> contained in $(targets). (make V=2 indicates this). Add $(dtb-y) to >>> $(targets) to prevent *.dtb from always being rebuilt. >>> >>> This fixes a regression introduced by the .dtb rule rework in 499cd82 >>> "ARM: dt: change .dtb build rules to build in dts directory". >>> >>> Reported-by: Shawn Guo <shawn.guo@linaro.org> >>> Signed-off-by: Stephen Warren <swarren@nvidia.com> >> >> Not sure who you have in mind to apply this, but if it's not through arm-soc: >> >> Acked-by: Olof Johansson <olof@lixom.net> > > I was assuming through the device tree tree, since that's where the dtc > rule rework went through, but I think it's mostly just about whoever > picks it up:-) > I'll pick up both. Rob
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e44da40..5ebb44f 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -155,6 +155,7 @@ dtb-$(CONFIG_ARCH_VT8500) += vt8500-bv07.dtb \ dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb targets += dtbs +targets += $(dtb-y) endif # *.dtb used to be generated in the directory above. Clean out the