boot/arm-trusted-firmware: add option to depend on host-uboot-tools for mkimage
PATCH 1/1 boot/arm-trusted-firmware: add option to depend on host-uboot-tools for mkimage
From: lancethepants <[email protected]>
Some ATF platform builds (e.g. Mediatek) require mkimage to produce bl2.img. Add a NEEDS_UBOOT_MKIMAGE config option similar to NEEDS_DTC.
Signed-off-by Lance Fredrickson <[email protected]>
--- boot/arm-trusted-firmware/Config.in | 7 +++++++ boot/arm-trusted-firmware/arm-trusted-firmware.mk | 4 ++++ 2 files changed, 11 insertions(+)
boot/arm-trusted-firmware/Config.in +7 -0
@@ -252,6 +252,13 @@ config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC Select this option if your ATF board configuration requires the Device Tree compiler to be available. +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_UBOOT_MKIMAGE + bool "Needs mkimage" + select BR2_PACKAGE_HOST_UBOOT_TOOLS + help + Select this option if your ATF board configuration + requires mkimage from u-boot-tools to be available. + config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN bool "Needs arm-none-eabi toolchain" depends on BR2_aarch64
boot/arm-trusted-firmware/arm-trusted-firmware.mk +4 -0
@@ -36,6 +36,10 @@ ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC),y) ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-dtc endif +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_UBOOT_MKIMAGE),y) +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-uboot-tools +endif + ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN),y) ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-arm-gnu-toolchain endif
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot