[U-Boot] [PATCH v1] apalis/colibri_imx6: add device trees to makefile

Marcel Ziswiler marcel at ziswiler.com
Mon Mar 25 16:38:02 UTC 2019


From: Marcel Ziswiler <marcel.ziswiler at toradex.com>

Add device trees to Makefile to avoid newly introduced error:

Device Tree Source is not correctly specified.
Please define 'CONFIG_DEFAULT_DEVICE_TREE'
or build with 'DEVICE_TREE=<device_tree>' argument

make[1]: *** [dts/Makefile:28: arch/arm/dts/imx6-apalis.dtb] Error 1
make: *** [Makefile:1009: dts/dt.dtb] Error 2

Signed-off-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>

---

 arch/arm/dts/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index e261c5936b..7b7ccfd204 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -481,6 +481,10 @@ dtb-$(CONFIG_MX6UL) += \
 
 dtb-$(CONFIG_MX6ULL) += imx6ull-14x14-evk.dtb
 
+dtb-$(CONFIG_ARCH_MX6) += \
+	imx6-apalis.dtb \
+	imx6-colibri.dtb
+
 dtb-$(CONFIG_MX7) += imx7d-sdb.dtb \
 	imx7d-sdb-qspi.dtb
 
-- 
2.20.1



More information about the U-Boot mailing list