mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
Rename gcc-arm-none-eabi to gcc-arm-baremetal. As meta-arm now provides baremetal gcc-arm-none-eabi version 9, and due to layer priorities, let's rename gcc-arm-none-eabi to gcc-arm-baremetal to force picking the right version for RTOS builds. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
34 lines
877 B
BlitzBasic
34 lines
877 B
BlitzBasic
require starterware.inc
|
|
|
|
DEPENDS = "gcc-arm-baremetal-native ti-pdk-build-rtos ti-xdctools-native"
|
|
|
|
require recipes-ti/includes/ti-paths.inc
|
|
|
|
PR = "${INC_PR}.0"
|
|
|
|
PARTNO_ti33x = "am335x"
|
|
PARTNO_ti43x = "am437x"
|
|
|
|
export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
|
export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}"
|
|
export PDK_INSTALL_PATH = "${PDK_INSTALL_DIR}/packages"
|
|
export XDC_INSTALL_PATH = "${XDC_INSTALL_DIR}"
|
|
|
|
do_compile() {
|
|
cd build
|
|
./release_${PARTNO}.sh
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware
|
|
find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \;
|
|
}
|
|
|
|
FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
|
|
|
|
INHIBIT_PACKAGE_STRIP = "1"
|
|
INHIBIT_SYSROOT_STRIP = "1"
|
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
|
INSANE_SKIP_${PN} = "arch staticdev file-rdeps"
|
|
|