[oe-commits] Koen Kooi : codec-engine 2.21: apply fix for ti-lpm-module build

GIT User account git at amethyst.openembedded.net
Thu Oct 30 09:38:34 UTC 2008


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

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Oct 30 10:35:57 2008 +0100

codec-engine 2.21: apply fix for ti-lpm-module build

---

 packages/dsplink/codec-engine_2.21.bb |   19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/packages/dsplink/codec-engine_2.21.bb b/packages/dsplink/codec-engine_2.21.bb
index 4cb227e..caaf297 100644
--- a/packages/dsplink/codec-engine_2.21.bb
+++ b/packages/dsplink/codec-engine_2.21.bb
@@ -94,23 +94,16 @@ do_compile() {
 	
 	cd ${DSPPOWERSOC}/lpm
 
-	export KERNEL_DIR=${STAGING_KERNEL_DIR}
-	export TOOL_PREFIX=${TARGET_PREFIX} 
-
-	# Different SoCs use different toolchains by default, we just want them to use the OE one, so replace the entries because they can't be overloaded within the environment
-	sed -i -e s:/db/toolsrc/library/tools/vendors/mvl/arm/omap3/OMAP35x_SDK_0.9.7/src/linux/kernel_org/2.6_kernel:${STAGING_KERNEL_DIR}:g \
-           -e s:/db/toolsrc/library/tools/vendors/cs/arm/arm-2007q3/bin/arm-none-linux-gnueabi-:${TARGET_PREFIX}:g \
-           -e s:/db/atree/library/trees/power/power-d02x/imports:${STAGING_DIR}/${MULTIMACH_TARGET_SYS}:g \
-           -e s:/db/toolsrc/library/tools/vendors/mvl/arm/dm6446/REL_LSP_02_00_00_010/montavista/pro/devkit/lsp/ti-davinci/linux-2.6.18_pro500:${STAGING_KERNEL_DIR}:g \
-           -e s:/db/toolsrc/library/tools/vendors/mvl/arm/mvl5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-:${TARGET_PREFIX}:g \
-        Makefile
-
-	oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR}   \
+    unset LDFLAGS CFLAGS
+    make   KERNEL_PATH=${STAGING_KERNEL_DIR}   \
            KERNEL_SRC=${STAGING_KERNEL_DIR}    \
+           KERNEL_DIR=${STAGING_KERNEL_DIR}   \
            KERNEL_VERSION=${KERNEL_VERSION}    \
+           TOOL_PREFIX=${TARGET_PREFIX} \
+           DSPLINK_REPO=${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ \
            CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
            AR="${KERNEL_AR}"
-	
+
 	cd ${S}/examples
 	# export some more variable to point to external TI tools
 	# information is duplicated between the js and make based tools





More information about the Openembedded-commits mailing list