Skip to contentSkip to conversation

LibArch: added K2G support for PSDK-RTOS.

PATCH In review Jianzhong Xu 2 participants 2 messages Mar 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 LibArch: added K2G support for PSDK-RTOS.

---
 recipes-ti/libarch-rtos/libarch-rtos_git.bb | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
recipes-ti/libarch-rtos/libarch-rtos_git.bb +3 -5
index ce9cd49..e959f29 100644
@@ -4,7 +4,7 @@ include recipes-ti/libarch/libarch.inc
 
 PR = "${INC_PR}.tisdk-int3"
 
-COMPATIBLE_MACHINE_append = "|c667x-evm"
+COMPATIBLE_MACHINE_append = "|c667x-evm|k2g-evm"
 
 DEPENDS_remove = "opencl \
                   opencl-monitor \
@@ -18,19 +18,17 @@ DEPENDS_append = " ti-ipc-rtos \
 "
 
 TARGET_c667x-evm = "SOC_C6678"
+TARGET_k2g-evm   = "SOC_K2G"
 
 # Variables required to compile libarch examples
 export IPC_DIR       = "${IPC_INSTALL_DIR}"
 export OMP_DIR       = "${OMP_INSTALL_DIR}"
-export C6678_PDK_DIR = "${PDK_INSTALL_DIR}"
+export PDK_DIR       = "${PDK_INSTALL_DIR}"
 export EDMA3_DIR     = "${EDMA3_LLD_INSTALL_DIR}"
 export LIBARCH_DIR   = "${S}/exports/libarch_${PV}"
 
 do_compile() {
     make -f build/Makefile TARGET=${TARGET} LIBOS=LIB_RTOS
-
-    cd ${LIBARCH_DIR}/examples
-    make TARGET=${TARGET} LIBOS=LIB_RTOS
 }
 
 deltask do_create_srcipk
Signature · 1 line
1.9.1
#1 lore raw
Quoted 10 lines · Jianzhong Xu
---
 recipes-ti/libarch-rtos/libarch-rtos_git.bb | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
recipes-ti/libarch-rtos/libarch-rtos_git.bb +0 -0
index ce9cd49..e959f29 100644

recipes-ti/libarch-rtos/libarch-rtos_git.bb include recipes-ti/libarch/libarch.inc · line 7

Quoted 5 lines
recipes-ti/libarch-rtos/libarch-rtos_git.bb +1 -1
@@ -4,7 +4,7 @@ include recipes-ti/libarch/libarch.inc
 
 PR = "${INC_PR}.tisdk-int3"
 
-COMPATIBLE_MACHINE_append = "|c667x-evm"
+COMPATIBLE_MACHINE_append = "|c667x-evm|k2g-evm"

This is not in meta-arago ^^^^^^^^^^^^^^^^^^^^^^

Quoted 31 lines
recipes-ti/libarch-rtos/libarch-rtos_git.bb +2 -4
 DEPENDS_remove = "opencl \
                   opencl-monitor \
@@ -18,19 +18,17 @@ DEPENDS_append = " ti-ipc-rtos \
 "
 
 TARGET_c667x-evm = "SOC_C6678"
+TARGET_k2g-evm   = "SOC_K2G"
 
 # Variables required to compile libarch examples
 export IPC_DIR       = "${IPC_INSTALL_DIR}"
 export OMP_DIR       = "${OMP_INSTALL_DIR}"
-export C6678_PDK_DIR = "${PDK_INSTALL_DIR}"
+export PDK_DIR       = "${PDK_INSTALL_DIR}"
 export EDMA3_DIR     = "${EDMA3_LLD_INSTALL_DIR}"
 export LIBARCH_DIR   = "${S}/exports/libarch_${PV}"
 
 do_compile() {
     make -f build/Makefile TARGET=${TARGET} LIBOS=LIB_RTOS
-
-    cd ${LIBARCH_DIR}/examples
-    make TARGET=${TARGET} LIBOS=LIB_RTOS
 }
 
 deltask do_create_srcipk
Signature · 6 lines
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago