[U-Boot] [RESEND PATCH v3] apalis_imx6: add device tree to makefile

Marcel Ziswiler marcel at ziswiler.com
Fri Apr 26 18:47:24 UTC 2019


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

Add device tree 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>
Reviewed-by: Igor Opaniuk <igor.opaniuk at toradex.com>

---

Changes in v3:
- Added Igor's reviewed-by tag.

Changes in v2:
- Drop adding the colibri-imx6 device tree as Stefano already pulled v1
  75992d0e7dfc ("apalis/colibri_imx6: add device trees to makefile") but
  somehow dropped adding the apalis-imx6 one as well.

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

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 08ae3aa46d..cf77a4dce6 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -552,6 +552,7 @@ dtb-$(CONFIG_MX6ULL) += \
 	imx6ull-dart-6ul.dtb
 
 dtb-$(CONFIG_ARCH_MX6) += \
+	imx6-apalis.dtb \
 	imx6-colibri.dtb
 
 dtb-$(CONFIG_MX7) += imx7d-sdb.dtb \
-- 
2.20.1



More information about the U-Boot mailing list