diff mbox series

[1/3] package/arm-gnu-toolchain: Add support check for x86_64 and aarch64

Message ID 20241022225457.568323-1-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
Signed-off-by: Bryce Johnson <bryce@redpinelabs.com>
---
 package/Config.in.host                   | 1 +
 package/arm-gnu-toolchain/Config.in.host | 4 ++++
 2 files changed, 5 insertions(+)
 create mode 100644 package/arm-gnu-toolchain/Config.in.host
diff mbox series

Patch

diff --git a/package/Config.in.host b/package/Config.in.host
index e4fbee4f2a..360ba9dad6 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -5,6 +5,7 @@  menu "Host utilities"
 	source "package/agent-proxy/Config.in.host"
 	source "package/amlogic-boot-fip/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"
diff --git a/package/arm-gnu-toolchain/Config.in.host b/package/arm-gnu-toolchain/Config.in.host
new file mode 100644
index 0000000000..dfd30e5223
--- /dev/null
+++ b/package/arm-gnu-toolchain/Config.in.host
@@ -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"