diff options
Diffstat (limited to 'recipes/dvsdk/ti-codec-engine-sdk_2.23.1.bb')
-rw-r--r-- | recipes/dvsdk/ti-codec-engine-sdk_2.23.1.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/recipes/dvsdk/ti-codec-engine-sdk_2.23.1.bb b/recipes/dvsdk/ti-codec-engine-sdk_2.23.1.bb new file mode 100644 index 0000000000..340a222315 --- /dev/null +++ b/recipes/dvsdk/ti-codec-engine-sdk_2.23.1.bb @@ -0,0 +1,50 @@ +DESCRIPTION = "Codec Engine 2.23.01 for TI ARM/DSP processors" +inherit sdk + +# tconf from xdctools dislikes '.' in pwd :/ +PR = "r11" +PV = "2231" + +SRC_URI = "http://install.source.dir.com/codec_engine_2_23_01.tar.gz " + +# Set the source directory +S = "${WORKDIR}/codec_engine_2_23_01" + +do_compile () { + echo "nothing to build" +} + +do_install() { + # Update cmem and sdma Rules.make to point correct location of main + # Rules.make. + sed -i -e s:Rules.make:../Rules.make:g \ + ${S}/cetools/packages/ti/sdo/linuxutils/cmem/Rules.make + sed -i -e s:Rules.make:../Rules.make:g \ + ${S}/cetools/packages/ti/sdo/linuxutils/sdma/Rules.make + + install -d ${D}/${prefix}/dvsdk/codec_engine_2_23_01 + cp -pPrf ${S}/* ${D}/${prefix}/dvsdk/codec_engine_2_23_01 + + # Creates rules.make file + + mkdir -p ${STAGING_DIR_HOST}/ti-sdk-rules + echo "# Where the Codec Engine package is installed." > ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "CE_INSTALL_DIR=${prefix}/dvsdk/codec_engine_2_23_01" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "# Where the XDAIS package is installed." >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "XDAIS_INSTALL_DIR=\$(CE_INSTALL_DIR)/cetools" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "# Where the DSP Link package is installed." >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "LINK_INSTALL_DIR=\$(CE_INSTALL_DIR)/cetools" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "# Where the CMEM (contiguous memory allocator) package is installed." >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "CMEM_INSTALL_DIR=\$(CE_INSTALL_DIR)/cetools" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "# Where Framework Components product is installed." >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make + echo "FC_INSTALL_DIR=\$(CE_INSTALL_DIR)/cetools" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make +} + +FILES_${PN} = "${prefix}/dvsdk/codec_engine_2_23_01" +INHIBIT_PACKAGE_STRIP = "1" +INSANE_SKIP_${PN} = True + |