kumquat-buildroot/package/arm-gnu-toolchain/arm-gnu-toolchain.mk
Kory Maincent 4678363579 package/arm-gnu-toolchain: Bump to 11.2-2022.02 and rename from arm-gnu-a-toolchain
arm-gnu-a-toolchain is now deprecated to be replaced by arm-gnu-toolchain.
The old link [1] now points to a shared page between Cortex-A and
Cortex-R/M [2].

Rename the package, taking into account legacy info, while bumping it.
Also update TF-A package that depends on it.

[1] https://developer.arm.com/downloads/-/gnu-a
[2] https://developer.arm.com/Tools%20and%20Software/GNU%20Toolchain

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-06-19 18:52:38 +02:00

27 lines
898 B
Makefile

################################################################################
#
# arm-gnu-toolchain
#
################################################################################
ARM_GNU_TOOLCHAIN_VERSION = 11.2-2022.02
ARM_GNU_TOOLCHAIN_SITE = https://developer.arm.com/-/media/Files/downloads/gnu/$(ARM_GNU_TOOLCHAIN_VERSION)/binrel/
ARM_GNU_TOOLCHAIN_SOURCE = gcc-arm-$(ARM_GNU_TOOLCHAIN_VERSION)-x86_64-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
define HOST_ARM_GNU_TOOLCHAIN_INSTALL_CMDS
rm -rf $(HOST_ARM_GNU_TOOLCHAIN_INSTALL_DIR)
mkdir -p $(HOST_ARM_GNU_TOOLCHAIN_INSTALL_DIR)
cp -rf $(@D)/* $(HOST_ARM_GNU_TOOLCHAIN_INSTALL_DIR)/
mkdir -p $(HOST_DIR)/bin
cd $(HOST_DIR)/bin && \
for i in ../opt/gcc-arm-none-eabi/bin/*; do \
ln -sf $$i; \
done
endef
$(eval $(host-generic-package))