mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
The arm-gnu-toolchain is used by TI's K3 generation of devices to compile the first stage bootloader (tiboot3.bin) which will run on the 32bit R5 MCU. The 10.3-2021.10 version of this toolchain is no longer publicized as being downloadable (and it's fairly old) on ARM's website. Let's upgrade to the latest version of the toolchain ARM (13.2-rel1) Signed-off-by: Bryan Brattlof <bb@ti.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
904 B
Makefile
27 lines
904 B
Makefile
################################################################################
|
|
#
|
|
# arm-gnu-toolchain
|
|
#
|
|
################################################################################
|
|
|
|
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_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))
|