All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-processor-sdk][PATCH] csl: Add special compile for IDK targets only
@ 2018-06-12 17:12 Djordje Senicic
  2018-06-12 17:29 ` [EXTERNAL] " Stiffler, Jacob
  0 siblings, 1 reply; 2+ messages in thread
From: Djordje Senicic @ 2018-06-12 17:12 UTC (permalink / raw)
  To: meta-arago; +Cc: d-senicic1, Djordje Senicic

* AM57xx IDK requires also ARP32 tool chain for compilation

Signed-off-by: Djordje Senicic <x0157990@ti.com>
---
 .../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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-12 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-12 17:12 [meta-processor-sdk][PATCH] csl: Add special compile for IDK targets only Djordje Senicic
2018-06-12 17:29 ` [EXTERNAL] " Stiffler, Jacob

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.