This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: PSDK 06.03.00.106: compile error when building opencl-examples-1.2.00.02, TARGET_ROOTDIR needs to be updated in make.inc

Part Number: AM5728

If I set PSDK_LINUX and PSDK_RTOS and run make for opencl-examples-1.2.00.02, every example fails to build with a similar error to below.

=============== timeout =================
Compiling kernel.cl
The OpenCL DSP directory /home/jcormier/local/ti-processor-sdk-linux-am57xx-evm-06.03.00.106/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi/usr/share/ti/opencl does not exist !
../make.inc:254: recipe for target 'kernel.dsp_h' failed
make[1]: *** [kernel.dsp_h] Error 1
This is because the arm directory is no longer armv7ahf and is now armv7at2hf.  When I fix this then the build works fine.  The git repo should be updated.
diff --git a/examples/make.inc b/examples/make.inc
index b96590a459fc..ecf5e643cb3f 100644
--- a/examples/make.inc
+++ b/examples/make.inc
@@ -70,7 +70,7 @@ ifneq (,$(findstring 86, $(shell uname -m)))
         endif
     endif

-    export TARGET_ROOTDIR?=$(PSDK_LINUX)/linux-devkit/sysroots/armv7ahf-neon-linux-gnueabi
+    export TARGET_ROOTDIR?=$(PSDK_LINUX)/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi
     export HOST_ROOTDIR?=$(PSDK_LINUX)/linux-devkit/sysroots/x86_64-arago-linux
     export TI_OCL_INSTALL?=$(TARGET_ROOTDIR)
     export TI_OCL_CGT_INSTALL?=$(HOST_ROOTDIR)/usr/share/ti/cgt-c6x