[Buildroot] [PATCH] configs/{at91sam9x5ek*, atmel_*_xplained*}: U-Boot needs DTC

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 2 13:51:48 UTC 2017


Hello,

On Sun,  2 Jul 2017 11:06:40 +0200, Thomas Petazzoni wrote:
> Since the bump of the Atmel defconfigs to linux4sam_5.6 in commit
> 0f7b5d4a9f3a78be07e22c81db41f88e45e8c0cf, the new U-Boot version uses
> the Device Tree compiler, so we need to add BR2_TARGET_UBOOT_NEEDS_DTC
> in order to build dtc before u-boot and avoid build failures.
> 
> Fixes:
> 
> >>> uboot linux4sam_5.6 Configuring
> >>> uboot linux4sam_5.6 Building  
> [...]
>   CHK     include/generated/timestamp_autogenerated.h
>   UPD     include/generated/timestamp_autogenerated.h
> ./scripts/dtc-version.sh: line 17: dtc: command not found
> ./scripts/dtc-version.sh: line 18: dtc: command not found
> *** Your dtc is too old, please upgrade to dtc 1.4 or newer
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
>  configs/at91sam9x5ek_defconfig                   | 1 +
>  configs/at91sam9x5ek_dev_defconfig               | 1 +
>  configs/at91sam9x5ek_mmc_defconfig               | 1 +
>  configs/at91sam9x5ek_mmc_dev_defconfig           | 1 +
>  configs/atmel_sama5d2_xplained_mmc_defconfig     | 1 +
>  configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 +
>  configs/atmel_sama5d3_xplained_defconfig         | 1 +
>  configs/atmel_sama5d3_xplained_dev_defconfig     | 1 +
>  configs/atmel_sama5d3_xplained_mmc_defconfig     | 1 +
>  configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 +
>  configs/atmel_sama5d4_xplained_defconfig         | 1 +
>  configs/atmel_sama5d4_xplained_dev_defconfig     | 1 +
>  configs/atmel_sama5d4_xplained_mmc_defconfig     | 1 +
>  configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 +
>  14 files changed, 14 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list