[oe-commits] Brijesh Singh : ti-dsplink.inc: fix dsplink staging include path.

git version control git at git.openembedded.org
Tue Jun 29 14:43:09 UTC 2010


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

Author: Brijesh Singh <bksingh at ti.com>
Date:   Thu Jun 24 21:39:55 2010 -0500

ti-dsplink.inc: fix dsplink staging include path.

Signed-off-by: Brijesh Singh <bksingh at ti.com>
Acked-by: Roger Monk <r-monk at ti.com>
Signed-off-by: Koen Kooi <k-kooi at ti.com>

---

 recipes/ti/ti-dsplink.inc |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/recipes/ti/ti-dsplink.inc b/recipes/ti/ti-dsplink.inc
index 119211e..388d057 100644
--- a/recipes/ti/ti-dsplink.inc
+++ b/recipes/ti/ti-dsplink.inc
@@ -16,7 +16,7 @@ PROVIDES += "ti-dsplink-examples"
 
 # This package builds a kernel module, use kernel PR as base and append a local version
 PR = "${MACHINE_KERNEL_PR}"
-PR_append = "f"
+PR_append = "h"
 
 S = "${WORKDIR}/dsplink_linux_${PV}"
 
@@ -166,6 +166,17 @@ do_install () {
     install -d ${D}${LINK_INSTALL_DIR_RECIPE}
     cp -pPrf ${S}/* ${D}${LINK_INSTALL_DIR_RECIPE}
     chmod -R +w ${D}${LINK_INSTALL_DIR_RECIPE}
+
+    # Changes path of include txt file to use LINK_INSTALL_DIR variable for GPP
+    for i in $(find ${D}${LINK_INSTALL_DIR_RECIPE}/dsplink/gpp/export/BIN/Linux/${DSPLINKPLATFORM}/*/ -name "*.txt"); do
+       sed -i ${i} -e s=${S}=\$\{LINK_INSTALL_DIR\}=g
+    done
+
+    # Changes path of include txt file to use LINK_INSTALL_DIR variable for DSP 
+    for i in $(find ${D}${LINK_INSTALL_DIR_RECIPE}/dsplink/dsp/export/BIN/DspBios/${DSPLINKPLATFORM}/${DSPLINKDSP}/*/ -name "*.txt"); do
+    sed -i ${i} -e s=${S}=\$\{LINK_INSTALL_DIR\}=g
+    done
+
 }
 
 PACKAGES += "ti-dsplink-module"





More information about the Openembedded-commits mailing list