update buildroot to 2017.02.11
This commit is contained in:
17
bsp/buildroot-2017.02.11/package/ti-cgt-pru/Config.in.host
Normal file
17
bsp/buildroot-2017.02.11/package/ti-cgt-pru/Config.in.host
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
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
|
||||
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 7dc37fd689d1d506bf410d2a00af658b93a58d4bc10ac32c2210129dab617377 ti_cgt_pru_2.2.1_linux_installer_x86.bin
|
||||
sha256 eb646f4f8b14351110992b40ba24d12803bcc150a76e7298705f51088b0a09cc PRU_Code_Generation_Tools_2.2.x_manifest.html
|
||||
sha256 6b98f9262abd1ae9a3731e6feee02a56b6e290542dea119eeeeaf88bf802aabc pru_rts_2_2_0_82167478-F8C9-49b2-82BD-12F8550770F9.spdx
|
||||
34
bsp/buildroot-2017.02.11/package/ti-cgt-pru/ti-cgt-pru.mk
Normal file
34
bsp/buildroot-2017.02.11/package/ti-cgt-pru/ti-cgt-pru.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# ti-cgt-pru
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TI_CGT_PRU_VERSION = 2.2.1
|
||||
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), \
|
||||
Boost Software License 1.0 (compiler), \
|
||||
BSD-2c, BSD-3c, MIT, Academic Free License 3.0, Hewlett-Packard (PRU library)
|
||||
TI_CGT_PRU_LICENSE_FILES = PRU_Code_Generation_Tools_2.2.x_manifest.html \
|
||||
pru_rts_2_2_0_82167478-F8C9-49b2-82BD-12F8550770F9.spdx
|
||||
|
||||
define HOST_TI_CGT_PRU_EXTRACT_CMDS
|
||||
chmod +x $(DL_DIR)/$(TI_CGT_PRU_SOURCE)
|
||||
$(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)/usr/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)/usr/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))
|
||||
Reference in New Issue
Block a user