[PATCH V2] ARM: dts: Only build dtb if associated Arch and/or SoC is enabled

Arnd Bergmann arnd at arndb.de
Tue Jan 13 04:23:06 PST 2015


On Monday 12 January 2015 14:42:03 Olof Johansson wrote:
> 
> I've applied this on next/dt now, hopefully it won't become too much of
> a headache of conflicts during this release cycle. At least doing it on that
> branch should keep us from exposing it up outside our tree.
> 

I had to add this snippet to get my local tree to build again:

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 7be7a6f62d81..3308d110bdc7 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -303,7 +303,7 @@ dtb-$(CONFIG_SOC_IMX6SL) += \
 	imx6sl-evk.dtb
 dtb-$(CONFIG_SOC_IMX6SX) += \
 	imx6sx-sabreauto.dtb \
-	imx6sx-sdb.dtb \
+	imx6sx-sdb.dtb
 dtb-$(CONFIG_SOC_LS1021A) += \
 	ls1021a-qds.dtb \
 	ls1021a-twr.dtb

	Arnd



More information about the linux-arm-kernel mailing list