diff options
author | Roger Monk <r-monk@ti.com> | 2010-01-16 10:49:54 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-04-12 19:43:11 +0200 |
commit | dc72be68dda9e67c81ab65d8f1cd1bda25e1bf76 (patch) | |
tree | 9aa7471c3112ab5ad998b7d2c5ee51966f1f56a8 /recipes/ti/ti-codec-engine.inc | |
parent | b828469f5906a0f35896c521880db9cc3812fa26 (diff) | |
download | openembedded-dc72be68dda9e67c81ab65d8f1cd1bda25e1bf76.tar.gz |
ti-codec-engine: Move version specific code into versioned part + add devices
Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/ti/ti-codec-engine.inc')
-rw-r--r-- | recipes/ti/ti-codec-engine.inc | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/recipes/ti/ti-codec-engine.inc b/recipes/ti/ti-codec-engine.inc index 6f415c51c8..c2a6e8e004 100644 --- a/recipes/ti/ti-codec-engine.inc +++ b/recipes/ti/ti-codec-engine.inc @@ -15,15 +15,20 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce S = "${WORKDIR}/codec_engine_${PV}" # Define Device variable -DEVICES_dm6446 ?= "DM6446" -DEVICES_omap3 ?= "OMAP3530" -DEVICES_dm355 ?= "DM355" +DEVICES = "" +DEVICES_dm6446 ?= "DM6446" +DEVICES_dm6467 ?= "DM6467" +DEVICES_omap3 ?= "OMAP3530" +DEVICES_dm355 ?= "DM355" +DEVICES_dm365 ?= "DM365" DEVICES_omapl137 ?= "OMAPL137" DEVICES_omapl138 ?= "OMAPL138" #define PROGRAM variables -PROGRAMS ?= "APP_CLIENT DSP_SERVER" -PROGRAMS_dm355 = "APP_LOCAL" +#TODO - should we build APP_LOCAL for SOCs as well?? - probably? +PROGRAMS ?= "APP_CLIENT DSP_SERVER" +PROGRAMS_dm355 = "APP_LOCAL" +PROGRAMS_dm365 = "APP_LOCAL" CGT6x_DIR = "${CODEGEN_INSTALL_DIR}" XDCTOOLS_DIR = "${XDC_INSTALL_DIR}" @@ -36,15 +41,6 @@ do_compile () { -e s:arm-none-linux-gnueabi-:${TARGET_PREFIX}:g \ ${S}/examples/xdcpaths.mak - #only for ce 2.25.00.05 - sed -i \ - -e 's/# figure out what categories of devices we are to build for/ \ -# figure out what categories of devices we are to build for \ -ifneq (,$(findstring OMAPL138,$(DEVICES))) \ - DEVICES_DUALCPU := 1 \ -endif/g' \ - ${S}/examples/xdcpaths.mak - for i in codecs extensions servers apps ; do cd ${S}/examples/ti/sdo/ce/examples/$i make DEVICES="${DEVICES}" \ @@ -72,12 +68,6 @@ do_install() { install -d ${D}/${installdir}/codec-engine-apps cp ${S}/examples/apps/system_files/${DEVICES}/loadmodules.sh ${D}/${installdir}/codec-engine-apps - # Only for 2.25.00.05 - sed -i \ - -e 's/insmod/modprobe/g' \ - -e 's/.ko//g' \ - ${D}/${installdir}/codec-engine-apps/loadmodules.sh - cd ${S}/examples/ti/sdo/ce/examples # Install the apps, servers and test data, mirroring the source directory structure |