1 DESCRIPTION = "Codec combos for omap3530"
2 DEPENDS = "ti-codec-engine"
7 SRC_URI = "http://software-dl.ti.com/sdo/sdo_apps_public_sw/omap3530_dvsdk_combos_tspa/omap3530_dvsdk_combos_tspa-3_16-Linux-x86.bin \
10 S = "${WORKDIR}/omap3530_dvsdk_combos_3_16"
12 # Yes, the xdc stuff still breaks with a '.' in PWD
18 export CE_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-engine/packages;${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-engine/cetools"
20 # Needed for now since makefile in latest package assumes this is set
21 export CODEC_INSTALL_DIR="${S}"
23 # Helper function to run the binary installer and unpack the tar.gz in the same place as it was before - this could be optimised later
25 export HOME="${WORKDIR}"
26 chmod +x ${WORKDIR}/omap3530_dvsdk_combos_tspa-3_16-Linux-x86.bin
27 ${WORKDIR}/omap3530_dvsdk_combos_tspa-3_16-Linux-x86.bin --mode silent --prefix ${S}_install
29 tar -xzvf omap3530_dvsdk_combos_tspa_3_16.tar.gz
33 mv omap3530_dvsdk_combos_tspa_3_16 ${S}
36 addtask accept_license after do_unpack before do_configure
40 # For now, remove the reference to Rules.make and swap prod for eval, since this only has eval libs included
46 # Fix-up config.bld to swap out hardcoded references to tools paths
47 sed -i -e s:/opt/dmsw/cg6x_6_0_16:${TITOOLSDIR}/${TICGTOOLSDIR}:g \
55 echo oe_runmake install
57 install -d ${D}/${datadir}/ti-codec-combos
61 # grab the server executables
62 for i in $(find . -name "*.x64P") ; do
63 install ${i} ${D}/${datadir}/ti-codec-combos
66 # copy the generated data sheets as well for reference
67 for i in $(find . -name "*.DataSheet.*") ; do
68 install ${i} ${D}/${datadir}/ti-codec-combos
73 install -d ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combos
74 cp -pPrf ${S}/* ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-combos
77 FILES_ti-codec-combos = "${datadir}/ti-codec-combos/*"
79 INHIBIT_PACKAGE_STRIP = "1"
81 PACKAGE_ARCH = "${MACHINE_ARCH}"