summaryrefslogtreecommitdiff
path: root/recipes/ti
diff options
context:
space:
mode:
authorRoger Monk <r-monk@ti.com>2010-04-22 01:14:20 +0100
committerKoen Kooi <koen@openembedded.org>2010-04-22 13:21:55 +0200
commite8c0ffc828960eeae4a64245f08e20df9c358706 (patch)
treeef3e11a5c48baa09767b4dc9f9b634fa79d291a1 /recipes/ti
parentc8f2cde950ec36970a01a47826df4188287534f1 (diff)
ti-dsplink: Introduce DSPLINKDSP to simplify DSP executable install
* Add new variable DSPLINKDSP to be used in install scripts Signed-off-by: Roger Monk <r-monk@ti.com> Signed-off-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'recipes/ti')
-rw-r--r--recipes/ti/ti-dsplink.inc14
1 files changed, 9 insertions, 5 deletions
diff --git a/recipes/ti/ti-dsplink.inc b/recipes/ti/ti-dsplink.inc
index 2a913727d2..c0171f193a 100644
--- a/recipes/ti/ti-dsplink.inc
+++ b/recipes/ti/ti-dsplink.inc
@@ -44,6 +44,13 @@ DSPLINKDSPCFG_omapl138 = "OMAPL138GEMSHMEM"
DSPLINKDSPCFG_omap3 = "OMAP3530SHMEM"
DSPLINKDSPCFG ?= "<UNDEFINED_DSPLINKDSPCFG>"
+DSPLINKDSP_dm6446 = "DM6446GEM_0"
+DSPLINKDSP_dm6467 = "DM6467GEM_0"
+DSPLINKDSP_omapl137 = "OMAPL1XXGEM_0"
+DSPLINKDSP_omapl138 = "OMAPL138GEM_0"
+DSPLINKDSP_omap3 = "OMAP3530_0"
+DSPLINKDSP ?= "<UNDEFINED_DSPLINKDSP>"
+
DSPLINKGPPOS_dm6446 = "DM6446LSP"
DSPLINKGPPOS_dm6467 = "DM6467LSP"
DSPLINKGPPOS_omapl137 = "ARM"
@@ -152,13 +159,10 @@ do_install () {
install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
install -m 0755 ${DSPLINK}/gpp/export/BIN/Linux/${DSPLINKPLATFORM}/RELEASE/dsplinkk.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/
- # Install the example apps
+ # Install the example apps (gpp and dsp)
install -d ${D}/${installdir}/ti-dsplink-examples/
cp ${DSPLINK}/gpp/export/BIN/Linux/${DSPLINKPLATFORM}/RELEASE/*gpp ${D}/${installdir}/ti-dsplink-examples
-
- for i in $(find ${DSPLINK}/dsp/BUILD/ -name "*.out") ; do
- cp ${i} ${D}/${installdir}/ti-dsplink-examples
- done
+ cp ${DSPLINK}/dsp/export/BIN/DspBios/${DSPLINKPLATFORM}/${DSPLINKDSP}/RELEASE/*.out ${D}/${installdir}/ti-dsplink-examples
# Install the example apps module un/load scripts
install ${WORKDIR}/ti-dsplink-examples-loadmodules.sh ${D}/${installdir}/ti-dsplink-examples