From e887c3f2a6166adaf420eb2c5789e468de2633da Mon Sep 17 00:00:00 2001 From: Jacob Stiffler Date: Wed, 27 Jan 2016 03:16:42 +0000 Subject: common-csl-ip: Upgrade to version 3.3.0.1B * Re-implement common-csl-ip-rtos using the ti-pdk class Signed-off-by: Jacob Stiffler Signed-off-by: Denys Dmytriyenko --- .../common-csl-ip/common-csl-ip-rtos_git.bb | 43 ++++++++-------------- 1 file changed, 15 insertions(+), 28 deletions(-) (limited to 'recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb') diff --git a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb index f8dc1baa..6f7d3ccc 100644 --- a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb +++ b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb @@ -1,36 +1,23 @@ require common-csl-ip.inc - PR = "${INC_PR}.0" -require recipes-ti/includes/ti-paths.inc -require recipes-ti/includes/ti-staging.inc - -DEPENDS = "ti-xdctools ti-cgt6x-native ti-sysbios" - -CSL_GIT_DESTSUFFIX = "git/ti/csl" +inherit ti-pdk -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" +DEPENDS_remove = "${PN}" -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/" {} \; -} +XDCARGS_ti33x = "am335x" +XDCARGS_ti43x = "am437x" +XDCARGS_omap-a15 = "am571x am572x" +XDCARGS_k2hk-evm = "k2h k2k" +XDCARGS_k2l-evm = "k2l" +XDCARGS_k2e-evm = "k2e" -do_compile() { - ${XDC_INSTALL_DIR}/xdc .make - ${XDC_INSTALL_DIR}/xdc clean - ${XDC_INSTALL_DIR}/xdc release -} +do_configure_append() { + # Create empty makefile + # If libraries are supported for this device, then this will be overwritten + cat > ${BUILD_DIR}/makefile << __EOF__ +# Nothing to do +all: -do_install () { - install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages - find -name "*.tar" -exec tar xf {} -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages \; +__EOF__ } - -ALLOW_EMPTY_${PN} = "1" -FILES_${PN}-dev += "${PDK_INSTALL_DIR_RECIPE}/packages" -- cgit v1.2.3-54-g00ecf