diff options
Diffstat (limited to 'recipes/ti/ti-codecs-omapl137_1.00.00.bb')
-rw-r--r-- | recipes/ti/ti-codecs-omapl137_1.00.00.bb | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/recipes/ti/ti-codecs-omapl137_1.00.00.bb b/recipes/ti/ti-codecs-omapl137_1.00.00.bb new file mode 100644 index 0000000000..0fd564c96a --- /dev/null +++ b/recipes/ti/ti-codecs-omapl137_1.00.00.bb @@ -0,0 +1,89 @@ +DESCRIPTION = "TI Codecs (and Server Combo) for OMAPL137" +HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent" +SECTION = "multimedia" + +# TODO :: Move to common .inc (omap3 and omapl ready) + +PV = "1_00_00" + +# This is invalid checksum +SRC_URI[l137codecsbin.md5sum] = "64a53cd55bc63d3a6f4db742aff90de9" +SRC_URI[l137codecsbin.sha256sum] = "4fb1075ad83f6017616410eff35ada7d567f1ee1b5b23624a817e8fc7dda3f8a" + +PR = "r2" + +require ti-paths.inc +require ti-staging.inc +require ti-eula-unpack.inc + +PROVIDES += "ti-codecs-omapl137-server" + +S = "${WORKDIR}/omapl137_dvsdk_combos_1_0" + +SRC_URI = "http://install.source.dir.local/omapl137_dvsdk_combos_1_0.tar.gz;name=l137codecsbin" + +#BINFILE = "cs1omapl138_${PV}-v2_setup_linux.bin" +#TI_BIN_UNPK_CMDS = "y:Y: qY:workdir" + +DEPENDS = "ti-cgt6x ti-xdctools ti-dspbios ti-codec-engine ti-linuxutils" + +#generic codec +DSPSUFFIX_omapl137 = "x64P" + +do_prepsources() { + + make \ + CE_INSTALL_DIR=${CE_INSTALL_DIR} \ + FC_INSTALL_DIR=${FC_INSTALL_DIR} \ + LINK_INSTALL_DIR=${LINK_INSTALL_DIR} \ + CMEM_INSTALL_DIR=${CMEM_INSTALL_DIR} \ + LPM_INSTALL_DIR=${LPM_INSTALL_DIR} \ + BIOS_INSTALL_DIR=${BIOS_INSTALL_DIR} \ + CODEGEN_INSTALL_DIR=${CODEGEN_INSTALL_DIR} \ + XDC_INSTALL_DIR=${XDC_INSTALL_DIR} \ + CODEC_INSTALL_DIR="${S}" \ + XDCARGS="prod" \ + clean +} + +addtask prepsources after do_configure before do_compile + +do_compile() { + + make \ + CE_INSTALL_DIR=${CE_INSTALL_DIR} \ + FC_INSTALL_DIR=${FC_INSTALL_DIR} \ + LINK_INSTALL_DIR=${LINK_INSTALL_DIR} \ + CMEM_INSTALL_DIR=${CMEM_INSTALL_DIR} \ + LPM_INSTALL_DIR=${LPM_INSTALL_DIR} \ + BIOS_INSTALL_DIR=${BIOS_INSTALL_DIR} \ + CODEGEN_INSTALL_DIR=${CODEGEN_INSTALL_DIR} \ + XDC_INSTALL_DIR=${XDC_INSTALL_DIR} \ + CODEC_INSTALL_DIR="${S}" \ + XDCARGS="prod" \ + all +} + +do_install() { + + install -d ${D}/${installdir}/ti-codecs-server + cd ${S} + + # Install the DSP Server Binary + for file in `find . -name *.${DSPSUFFIX}`; do + cp ${file} ${D}/${installdir}/ti-codecs-server + done + + # Install docs (codec qualiTI test reports, server config datasheet, etc) + for file in `find . -name *.html`; do + cp ${file} ${D}/${installdir}/ti-codecs-server + done + + install -d ${D}${CODEC_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${CODEC_INSTALL_DIR_RECIPE} +} + +PACKAGES += "ti-codecs-omapl137-server" +FILES_ti-codecs-omapl137-server = "${installdir}/ti-codecs-server/*" + + |