boot/arm-trusted-firmware: add optional host-arm-gnu-a-toolchain dependency
authorSuniel Mahesh <sunil@amarulasolutions.com>
Sat, 28 Mar 2020 05:04:30 +0000 (10:34 +0530)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 29 Mar 2020 13:08:23 +0000 (15:08 +0200)
commitfbed118ed20f2701425720f510b02b3ad1345a2e
tree6fdb7d10e168589c253d5c0b7ed9f2473ef4c9df
parentd9959b647f2afd09e564bddfc3d21476f9a0f669
boot/arm-trusted-firmware: add optional host-arm-gnu-a-toolchain dependency

Some ATF configurations, require a pre-built bare metal toolchain to
build some platforms which host cortex-m series core, for instance
rockchip rk3399 has a cortex-m0 core. Without a pre-built bare metal
toolchain, the build fails:

make[3]: arm-none-eabi-gcc: Command not found

To solve this, this commit implements a
BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN
option. Platforms which have such requirement should enable this
config option.

Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
boot/arm-trusted-firmware/Config.in
boot/arm-trusted-firmware/arm-trusted-firmware.mk