toolchain/toolchain-external/toolchain-external-arm-aarch64: add toolchain for AArch64 host architecture

Enabling AArch64 as a host architecture for AArch64 build.

Signed-off-by: Gabriele Besta <buildroot@bgdev.it>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Gabriele Besta
2025-02-03 17:24:51 +00:00
committed by Arnout Vandecappelle
parent fdc1914e1d
commit 917495a2ac
3 changed files with 4 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64
bool "Arm AArch64 14.2.rel1"
depends on BR2_aarch64
depends on BR2_HOSTARCH = "x86_64"
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "aarch64"
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_15
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
select BR2_TOOLCHAIN_HAS_SSP

View File

@@ -1,2 +1,4 @@
# From https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu.tar.xz.sha256asc
sha256 47aeefc02b0ee39f6d4d1812110952975542d365872a7474b5306924bca4faa1 arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu.tar.xz
# From https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-aarch64-aarch64-none-linux-gnu.tar.xz.sha256asc
sha256 299c56db1644c135670afabbf801b97a42e5ef6069d73157ab869458cbda2096 arm-gnu-toolchain-14.2.rel1-aarch64-aarch64-none-linux-gnu.tar.xz

View File

@@ -7,6 +7,6 @@
TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION = 14.2.rel1
TOOLCHAIN_EXTERNAL_ARM_AARCH64_SITE = https://developer.arm.com/-/media/Files/downloads/gnu/$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)/binrel
TOOLCHAIN_EXTERNAL_ARM_AARCH64_SOURCE = arm-gnu-toolchain-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)-x86_64-aarch64-none-linux-gnu.tar.xz
TOOLCHAIN_EXTERNAL_ARM_AARCH64_SOURCE = arm-gnu-toolchain-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)-$(HOSTARCH)-aarch64-none-linux-gnu.tar.xz
$(eval $(toolchain-external-package))