[oe-commits] Roger Monk : ti-dsplink: Introduce DSPLINKDSP to simplify DSP executable install

git version control git at git.openembedded.org
Thu Apr 22 11:22:30 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: e8c0ffc828960eeae4a64245f08e20df9c358706
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e8c0ffc828960eeae4a64245f08e20df9c358706

Author: Roger Monk <r-monk at ti.com>
Date:   Thu Apr 22 01:14:20 2010 +0100

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 at ti.com>
Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 recipes/ti/ti-dsplink.inc |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/recipes/ti/ti-dsplink.inc b/recipes/ti/ti-dsplink.inc
index 2a91372..c0171f1 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





More information about the Openembedded-commits mailing list