package/arm-gnu-toolchain: add BR2_PACKAGE_HOST_ARM_GNU_TOOLCHAIN_SUPPORTS

ARM gnu toolchain for bare metal arm32 target is only available for
x86_64 and aarch64 hosts. Introduce a new option to disable packages
using this toolchain on unsupported hosts.

[Romain: improve commit log]
Signed-off-by: Bryce Johnson <bryce@redpinelabs.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
Bryce Johnson
2024-10-22 16:54:54 -06:00
committed by Romain Naour
parent c12008448e
commit 65f268e21c
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ menu "Host utilities"
source "package/amlogic-boot-fip/Config.in.host"
source "package/andes-spi-burn/Config.in.host"
source "package/android-tools/Config.in.host"
source "package/arm-gnu-toolchain/Config.in.host"
source "package/asn1c/Config.in.host"
source "package/babeltrace2/Config.in.host"
source "package/bmap-tools/Config.in.host"
+4
View File
@@ -0,0 +1,4 @@
config BR2_PACKAGE_HOST_ARM_GNU_TOOLCHAIN_SUPPORTS
bool "host arm-gnu-toolchain"
default y if BR2_HOSTARCH = "aarch64"
default y if BR2_HOSTARCH = "x86_64"