summaryrefslogtreecommitdiff
path: root/packages/dsplink
diff options
context:
space:
mode:
authorRoger Monk <r-monk@ti.com>2009-02-19 09:27:18 +0100
committerKoen Kooi <koen@openembedded.org>2009-02-19 09:27:18 +0100
commit5c5488a59f2ae4be67c47e15acca8456e19bce42 (patch)
treee37fb71ac60bc842fd79ddb302dba9b595050e12 /packages/dsplink
parent801e77d332d1182fcc7c163ddb204688bfb183ed (diff)
omap3530-dvsdk-combos: add recipe to (re)build the codecs from the DVSDK
Diffstat (limited to 'packages/dsplink')
-rw-r--r--packages/dsplink/omap3530-dvsdk-combos_3.16.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/dsplink/omap3530-dvsdk-combos_3.16.bb b/packages/dsplink/omap3530-dvsdk-combos_3.16.bb
new file mode 100644
index 0000000000..278d743c28
--- /dev/null
+++ b/packages/dsplink/omap3530-dvsdk-combos_3.16.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "Codec combos for omap3530"
+DEPENDS = "codec-engine"
+LICENCE = "unknown"
+
+require ti-paths.inc
+
+# TODO update this...
+# https://www-a.ti.com/downloads/sds_support/applications_packages/dmai/dmai_1_20_00_06/dmai_setuplinux_1_20_00_06.bin
+# Install the above link and put the omap3530_dvsdk_combos_3_16.tar.gz file in the same directory as this recipe
+SRC_URI = "file://omap3530_dvsdk_combos_3_16.tar.gz \
+ "
+
+S = "${WORKDIR}/omap3530_dvsdk_combos_3_16"
+# Yes, the xdc stuff still breaks with a '.' in PWD
+PV = "316"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+TARGET = "all"
+
+export CE_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/codecengine/cetools"
+
+do_compile() {
+ sed -i -e s:/db/toolsrc/library/vendors2005/ti/c6x/6.0.16/Linux:${TITOOLSDIR}/${TICGTOOLSDIR}:g \
+ -e s:arm-none-linux-gnueabi-:${TARGET_PREFIX}:g \
+ -e s:/home/dvsdkval/workdir/OMAP3530/nfs/workdir/opt/toolchain/arm-2007q3:${CROSS_DIR}:g \
+ ${S}/config.bld
+
+ oe_runmake clean
+ oe_runmake
+}
+
+do_install () {
+ echo oe_runmake install
+}
+
+do_stage () {
+ install -d ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/codecs
+ cp -pPrf ${S}/* ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/codecs
+}