diff mbox series

[2/3] boot/arm-trusted-firmware: use HOST_ARM_GNU_TOOLCHAIN_SUPPORTS

Message ID 20241022225457.568323-2-bryce@redpinelabs.com
State New
Headers show
Series [1/3] package/arm-gnu-toolchain: Add support check for x86_64 and aarch64 | expand

Commit Message

Bryce Johnson Oct. 22, 2024, 10:54 p.m. UTC
To check for valid x86_64 or aarch64 configuration for arm32 toolchain

Signed-off-by: Bryce Johnson <bryce@redpinelabs.com>
---
 boot/arm-trusted-firmware/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/boot/arm-trusted-firmware/Config.in b/boot/arm-trusted-firmware/Config.in
index 5ba4e08370..4a5c7dc89c 100644
--- a/boot/arm-trusted-firmware/Config.in
+++ b/boot/arm-trusted-firmware/Config.in
@@ -249,7 +249,7 @@  config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC
 config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN
 	bool "Needs arm-none-eabi toolchain"
 	depends on BR2_aarch64
-	depends on BR2_HOSTARCH = "x86_64"
+	depends on BR2_PACKAGE_HOST_ARM_GNU_TOOLCHAIN_SUPPORTS
 	help
 	  Select this option if your ATF board configuration requires
 	  an ARM32 bare metal toolchain to be available.