Skip to contentSkip to conversation

edma3-lld-rtos: Point TMS470_CGTOOLS to correct toolchain

PATCH New Jacob Stiffler 1 participant 2 messages Mar 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 edma3-lld-rtos: Point TMS470_CGTOOLS to correct toolchain

---
 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +2 -2
index dc39fee..0195173 100644
@@ -2,7 +2,7 @@ require edma3-lld.inc
 require recipes-ti/includes/ti-paths.inc
 require recipes-ti/includes/ti-staging.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 DEPENDS = "ti-sysbios ti-xdctools"
 
@@ -67,7 +67,7 @@ export CGTOOLS = "${XDCCGROOT}"
 export CGTOOLS_ELF = "${XDCCGROOT}"
 export CODEGEN_PATH_DSP = "${XDCCGROOT}"
 export CODEGEN_PATH_DSPELF = "${XDCCGROOT}"
-export TMS470_CGTOOLS = "${XDCCGROOT}"
+export TMS470_CGTOOLS = "${M4_TOOLCHAIN_INSTALL_DIR}"
 export UTILS_INSTALL_DIR = "${XDC_INSTALL_DIR}"
 export XDCPATH = "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages"
 export PATH := "${XDC_INSTALL_DIR}:${PATH}"
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 HACK: edma3-lld-rtos: Add dependency on all toolchains

* Despite supporting building of individual targets, there is a dependency on all toolchains even if the coresponding core is not part of a specific platform.
* This fixes do_configure with ti-xdctools_3.32.00.06 and ti-sysbios_6.45.01.29

---
 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +2 -7
index 0195173..b1cedd0 100644
@@ -2,14 +2,9 @@ require edma3-lld.inc
 require recipes-ti/includes/ti-paths.inc
 require recipes-ti/includes/ti-staging.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
-DEPENDS = "ti-sysbios ti-xdctools"
-
-DEPENDS_append_keystone = " gcc-arm-none-eabi-native ti-cgt6x-native"
-DEPENDS_append_ti33x = " gcc-arm-none-eabi-native"
-DEPENDS_append_ti43x = " gcc-arm-none-eabi-native"
-DEPENDS_append_omap-a15 = " gcc-arm-none-eabi-native ti-ccsv6-native ti-cgt6x-native"
+DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-ccsv6-native ti-cgt6x-native"
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
1.9.1