* AM57xx IDK requires also ARP32 tool chain for compilation
Signed-off-by: Djordje Senicic <[email protected]>
---
.../common-csl-ip/common-csl-ip-rtos_git.bbappend | 28 +++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bbappend
b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bbappend
index dbf994a..2b0840e 100644
--- a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bbappend
+++ b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bbappend
@@ -1 +1,27 @@
-require recipes-bsp/common-csl-ip/common-csl-ip-03.03.00.11.inc
+require recipes-bsp/common-csl-ip/common-csl-ip-03.03.00.11.inc
+PR_append = ".tisdk1"
+
+# opencl-monitor does not distinguish between am57xx-evm and dra7xx-evm and
thus
+# requires the am57xx-evm CSL libraries for both devices.
+TI_PDK_LIMIT_SOCS_append_dra7xx = " am574x"
+
+DEPENDS_append_dra7xx = " ti-cgt-arp32-native "
+DEPENDS_append_am57xx = " ti-cgt-arp32-native "
+
+do_compile_append_am57xx-evm() {
+
+ if [ "${TI_PDK_XDCMAKE}" == "1" ]
+ then
+ ${XDC_INSTALL_DIR}/xdc all ${PARALLEL_XDC}
XDCARGS="${TI_PDK_XDC_ARGS}" ROOTDIR="${ROOTDIR}" -PR .
+ ${XDC_INSTALL_DIR}/xdc release XDCARGS="${TI_PDK_XDC_ARGS}" -PR .
+ else
+ BUILD_DIR=${B}/`get_build_dir_bash`
+ cd ${BUILD_DIR}
+
+ oe_runmake ${TI_PDK_MAKE_TARGET}
+
+ oe_runmake csl BOARD=idkAM572x CORE=arp32_1 BUILD_ARP32=yes
+ oe_runmake csl BOARD=idkAM574x CORE=arp32_1 BUILD_ARP32=yes
+ fi
+}
+
--
1.9.1
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago