[oe-commits] Koen Kooi : ti-c6accel: fixes and cleanups
git version control
git at git.openembedded.org
Mon Dec 27 13:34:47 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: b54eb35090e34ac39cabc1774a62331e1507d34d
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b54eb35090e34ac39cabc1774a62331e1507d34d
Author: Koen Kooi <koen at openembedded.org>
Date: Mon Dec 27 14:33:06 2010 +0100
ti-c6accel: fixes and cleanups
* this makes c6accel really regenerate the needed files
* doesn't pass -L/lib to the linker anymore
Signed-off-by: Koen Kooi <koen at openembedded.org>
---
recipes/ti/ti-c6accel.inc | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/recipes/ti/ti-c6accel.inc b/recipes/ti/ti-c6accel.inc
index 4d3d194..21eaf33 100644
--- a/recipes/ti/ti-c6accel.inc
+++ b/recipes/ti/ti-c6accel.inc
@@ -31,11 +31,7 @@ DEPENDS = "ti-codec-engine ti-xdais ti-dsplink ti-dspbios"
DEPENDS += "ti-edma3lld ti-cgt6x ti-xdctools ti-framework-components"
DEPENDS += "ti-biosutils"
-do_compile() {
- unset VERBOSE
- # Build C6Accel package
- cd ${S}
- make \
+TIARGS = ' \
PLATFORM="${PLATFORM}" \
CE_INSTALL_DIR="${CE_INSTALL_DIR}" \
XDAIS_INSTALL_DIR="${XDAIS_INSTALL_DIR}" \
@@ -52,8 +48,18 @@ do_compile() {
C6ACCEL_INSTALL_DIR="${S}" \
CSTOOL_DIR="${TOOLCHAIN_PATH}" \
CSTOOL_PREFIX="${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}" \
- all
+ LINUXLIBS_INSTALL_DIR="${STAGING_DIR}/${BASE_PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS}" \
+'
+do_configure() {
+ unset VERBOSE
+ make ${TIARGS} clean
+ #sed -i -e 's:-L$(LINUXLIBS_INSTALL_DIR)/lib:${LDFLAGS}:' ${S}/soc/app/Makefile
+}
+
+do_compile() {
+ unset VERBOSE
+ make ${TIARGS} all
}
do_install() {
More information about the Openembedded-commits
mailing list