mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 11:42:57 +00:00
common-csl-ip-rtos: Add CSL RTOS package.
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
78d38afdb9
commit
29eeee9ff4
33
recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
Normal file
33
recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb
Normal file
@@ -0,0 +1,33 @@
|
||||
require common-csl-ip.inc
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-ti/includes/ti-staging.inc
|
||||
|
||||
DEPENDS = "ti-xdctools ti-cgt6x-native ti-sysbios"
|
||||
|
||||
S = "${WORKDIR}/ti/csl"
|
||||
|
||||
export C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr"
|
||||
export XDCCGROOT="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
|
||||
export XDCPATH="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
|
||||
|
||||
do_configure() {
|
||||
sed -i "s/\ \"\.\\\\\\\\\"\ +//" src/Module.xs
|
||||
find -name "*.xs" -exec sed -i "s/ofd6x\.exe/ofd6x/" {} \;
|
||||
find -name "*.xs" -exec sed -i "s/sectti\.exe/sectti/" {} \;
|
||||
find -name "*.xs" -exec sed -i "/\.chm/d" {} \;
|
||||
find -name "*.xs" -exec sed -i "s/pasm\_dos/pasm\_linux/" {} \;
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
${XDC_INSTALL_DIR}/xdc .make
|
||||
${XDC_INSTALL_DIR}/xdc clean
|
||||
${XDC_INSTALL_DIR}/xdc release
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages
|
||||
find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \;
|
||||
}
|
||||
|
||||
FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
|
||||
Reference in New Issue
Block a user