kumquat-buildroot/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.mk
Kory Maincent 6dad41b9f4 package/arm-gnu-a-toolchain: bump to version 10.3-2021.07
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-12-30 16:58:14 +01:00

27 lines
923 B
Makefile

################################################################################
#
# arm-gnu-a-toolchain
#
################################################################################
ARM_GNU_A_TOOLCHAIN_VERSION = 10.3-2021.07
ARM_GNU_A_TOOLCHAIN_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/$(ARM_GNU_A_TOOLCHAIN_VERSION)/binrel
ARM_GNU_A_TOOLCHAIN_SOURCE = gcc-arm-$(ARM_GNU_A_TOOLCHAIN_VERSION)-x86_64-arm-none-eabi.tar.xz
ARM_GNU_A_TOOLCHAIN_LICENSE = GPL-3.0+
HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_DIR = $(HOST_DIR)/opt/gcc-arm-none-eabi
define HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_CMDS
rm -rf $(HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_DIR)
mkdir -p $(HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_DIR)
cp -rf $(@D)/* $(HOST_ARM_GNU_A_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))