From: Koen Kooi Date: Mon, 27 Dec 2010 13:33:06 +0000 (+0100) Subject: ti-c6accel: fixes and cleanups X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b54eb35090e34ac39cabc1774a62331e1507d34d;p=openembedded.git 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 --- diff --git a/recipes/ti/ti-c6accel.inc b/recipes/ti/ti-c6accel.inc index 4d3d1949c7..21eaf33883 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() {