diff mbox series

[U-Boot,v2] apalis_imx6: add device tree to makefile

Message ID 20190409152148.10841-1-marcel@ziswiler.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show
Series [U-Boot,v2] apalis_imx6: add device tree to makefile | expand

Commit Message

Marcel Ziswiler April 9, 2019, 3:21 p.m. UTC
From: Marcel Ziswiler <marcel.ziswiler@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@toradex.com>

---

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(+)

Comments

Igor Opaniuk April 9, 2019, 4:08 p.m. UTC | #1
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>

On Tue, Apr 9, 2019 at 5:22 PM Marcel Ziswiler <marcel@ziswiler.com> wrote:
>
> From: Marcel Ziswiler <marcel.ziswiler@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@toradex.com>
>
> ---
>
> 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 92074cd8da..13d1d67624 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -548,6 +548,7 @@ dtb-$(CONFIG_MX6ULL) += \
>         imx6ull-colibri.dtb \
>
>  dtb-$(CONFIG_ARCH_MX6) += \
> +       imx6-apalis.dtb \
>         imx6-colibri.dtb
>
>  dtb-$(CONFIG_MX7) += imx7d-sdb.dtb \
> --
> 2.20.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
Stefano Babic June 10, 2019, 9:59 a.m. UTC | #2
> From: Marcel Ziswiler <marcel.ziswiler@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@toradex.com>
> Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 92074cd8da..13d1d67624 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -548,6 +548,7 @@  dtb-$(CONFIG_MX6ULL) += \
 	imx6ull-colibri.dtb \
 
 dtb-$(CONFIG_ARCH_MX6) += \
+	imx6-apalis.dtb \
 	imx6-colibri.dtb
 
 dtb-$(CONFIG_MX7) += imx7d-sdb.dtb \