initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
config BR2_PACKAGE_HOST_TI_CGT_PRU_ARCH_SUPPORTS
bool
default y
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
depends on BR2_arm
config BR2_PACKAGE_HOST_TI_CGT_PRU
bool "host ti-cgt-pru"
depends on BR2_PACKAGE_HOST_TI_CGT_PRU_ARCH_SUPPORTS
select BR2_HOSTARCH_NEEDS_IA32_LIBS
help
This package provides the Code Generation Tools for the PRU
unit found on some TI processors e.g. AM3358.
Note: this is a binary cross toolchain that runs on x86 hosts
targeting PRU cores found alongside some ARM processors.
http://processors.wiki.ti.com/index.php/Programmable_Realtime_Unit_Software_Development
+4
View File
@@ -0,0 +1,4 @@
# Locally calculated
sha256 1f1405167214f2c0ef848591b17a7799fdcd9f55f11bc90db9ace3490d426215 ti_cgt_pru_2.3.3_linux_installer_x86.bin
sha256 913cb4ab564f874b7c9a11726a16c4ccdc7ecc60be2738201281a1e28dc93641 PRU_Code_Generation_Tools_2.3.x_manifest.html
sha256 5e198df9782c63cedc8363f0e298b241a9a8084398a925f6e1003dbcb60801cb pru_rts_2_3_0_82167478-F8C9-49b2-82BD-12F8550770F9.spdx
+33
View File
@@ -0,0 +1,33 @@
################################################################################
#
# ti-cgt-pru
#
################################################################################
TI_CGT_PRU_VERSION = 2.3.3
TI_CGT_PRU_SOURCE = ti_cgt_pru_$(TI_CGT_PRU_VERSION)_linux_installer_x86.bin
TI_CGT_PRU_SITE = http://downloads.ti.com/codegen/esd/cgt_public_sw/PRU/$(TI_CGT_PRU_VERSION)
TI_CGT_PRU_LICENSE = TI Technology and Software Publicly Available License (compiler + PRU library), \
BSL-1.0 (compiler), BSD-2-Clause, BSD-3-Clause, MIT, AFL-3.0, Hewlett-Packard (PRU library)
TI_CGT_PRU_LICENSE_FILES = PRU_Code_Generation_Tools_2.3.x_manifest.html \
pru_rts_2_3_0_82167478-F8C9-49b2-82BD-12F8550770F9.spdx
define HOST_TI_CGT_PRU_EXTRACT_CMDS
chmod +x $(HOST_TI_CGT_PRU_DL_DIR)/$(TI_CGT_PRU_SOURCE)
$(HOST_TI_CGT_PRU_DL_DIR)/$(TI_CGT_PRU_SOURCE) --prefix $(@D) --mode unattended
mv $(@D)/ti-cgt-pru_$(TI_CGT_PRU_VERSION)/* $(@D)
rmdir $(@D)/ti-cgt-pru_$(TI_CGT_PRU_VERSION)/
endef
# Since this is largely prebuilt toolchain and likes to live in its
# own directory, put it in $(HOST_DIR)/share/ti-cgt-pru/.
# Packages wanting to use this toolchain need to use this path as TI's
# standard PRU_CGT path e.g. make PRU_CGT=$(TI_CGT_PRU_INSTALLDIR)...
TI_CGT_PRU_INSTALLDIR = $(HOST_DIR)/share/ti-cgt-pru
define HOST_TI_CGT_PRU_INSTALL_CMDS
mkdir -p $(TI_CGT_PRU_INSTALLDIR)
cp -dpfr $(@D)/* $(TI_CGT_PRU_INSTALLDIR)
endef
$(eval $(host-generic-package))