From e8c0ffc828960eeae4a64245f08e20df9c358706 Mon Sep 17 00:00:00 2001 From: Roger Monk Date: Thu, 22 Apr 2010 01:14:20 +0100 Subject: ti-dsplink: Introduce DSPLINKDSP to simplify DSP executable install * Add new variable DSPLINKDSP to be used in install scripts Signed-off-by: Roger Monk Signed-off-by: Koen Kooi --- recipes/ti/ti-dsplink.inc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'recipes/ti') 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 ?= "" +DSPLINKDSP_dm6446 = "DM6446GEM_0" +DSPLINKDSP_dm6467 = "DM6467GEM_0" +DSPLINKDSP_omapl137 = "OMAPL1XXGEM_0" +DSPLINKDSP_omapl138 = "OMAPL138GEM_0" +DSPLINKDSP_omap3 = "OMAP3530_0" +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 -- cgit 1.2.3-korg