diff options
author | Brijesh Singh <bksingh@ti.com> | 2010-06-24 21:39:55 -0500 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-06-29 16:42:39 +0200 |
commit | 8be669831b9aa842e9589eeff66fdc33323a476e (patch) | |
tree | cad92a2e3354bbca5e61b3ba0d5af6f05e5a0705 /recipes | |
parent | 3a6ffbc99137af46c32c79bb69559acc2cd899f8 (diff) |
ti-dsplink.inc: fix dsplink staging include path.
Signed-off-by: Brijesh Singh <bksingh@ti.com>
Acked-by: Roger Monk <r-monk@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | 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 119211e906..388d057372 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" |