package/arm-gnu-toolchain: use $(HOSTARCH) to allow use on aarch64
When building on an ARM64 build server, the build of configs/ti_am62x_sk_defconfig fails when building the Cortex-R5 U-Boot, as it uses host-arm-gnu-toolchain, which assumes the host machine is x86-64. Use $(HOSTARCH) instead so that it can download the bare-metal toolchain also provided by ARM for the ARM64 host architecture. Signed-off-by: Bryce Johnson <bryce@redpinelabs.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
3e92a39db5
commit
889736fa06
2 changed files with 3 additions and 1 deletions
|
|
@ -1,2 +1,4 @@
|
|||
# taken from https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz.sha256asc
|
||||
sha256 6cd1bbc1d9ae57312bcd169ae283153a9572bd6a8e4eeae2fedfbc33b115fdbb arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz
|
||||
# taken from https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-aarch64-arm-none-eabi.tar.xz.sha256asc
|
||||
sha256 8fd8b4a0a8d44ab2e195ccfbeef42223dfb3ede29d80f14dcf2183c34b8d199a arm-gnu-toolchain-13.2.rel1-aarch64-arm-none-eabi.tar.xz
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
ARM_GNU_TOOLCHAIN_VERSION = 13.2.rel1
|
||||
ARM_GNU_TOOLCHAIN_SITE = https://developer.arm.com/-/media/Files/downloads/gnu/$(ARM_GNU_TOOLCHAIN_VERSION)/binrel
|
||||
ARM_GNU_TOOLCHAIN_SOURCE = arm-gnu-toolchain-$(ARM_GNU_TOOLCHAIN_VERSION)-x86_64-arm-none-eabi.tar.xz
|
||||
ARM_GNU_TOOLCHAIN_SOURCE = arm-gnu-toolchain-$(ARM_GNU_TOOLCHAIN_VERSION)-$(HOSTARCH)-arm-none-eabi.tar.xz
|
||||
ARM_GNU_TOOLCHAIN_LICENSE = GPL-3.0+
|
||||
|
||||
HOST_ARM_GNU_TOOLCHAIN_INSTALL_DIR = $(HOST_DIR)/opt/gcc-arm-none-eabi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue