ti-pru-sw-example: fix building with new toolchain sysroot
authorchase maupin <chasemaupin03@gmail.com>
Thu, 17 Mar 2011 03:02:06 +0000 (03:02 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 17 Mar 2011 07:35:27 +0000 (08:35 +0100)
* Patch taken from Arago overlay where it was added by
  Denys Dmytriyenko
* PR incremented by two to align recipe PR values between Arago
  and OE.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
recipes/ti/ti-pru-sw-examples_1.00.00.bb

index f5fa8d5..45a01eb 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
 LICENSE = "BSD"
 DEPENDS += "ti-pru-sw-app-loader ti-pru-sw-edma-library"
 RDEPENDS += "ti-pru-sw-edma-driver kernel-module-uio-pru"
-PR = "r2+svnr${SRCPV}"
+PR = "r4+svnr${SRCPV}"
 
 COMPATIBLE_MACHINE = "omapl138"
 
@@ -14,7 +14,7 @@ S = "${WORKDIR}/trunk"
 
 do_compile () {
         make -C ${S}/example_apps \
-          CC=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \
+          CC="${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" \
           BINDIR_APPLICATIONS="${S}/example_apps/bin" \
           BINDIR_FW="${S}/example_apps/bin" \
           UTILS_DIR="${S}/utils"