ti-pdk-bbclass: Enabling support for pru firmware builds
PATCH 1/1 ti-pdk-bbclass: Enabling support for pru firmware builds
Signed-off-by Mahesh Radhakrishnan <[email protected]>
--- classes/ti-pdk.bbclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
classes/ti-pdk.bbclass +6 -2
@@ -5,7 +5,10 @@ inherit perlnative DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-pdk-build-rtos" -DEPENDS_append_omap-a15 = " ti-cgt-arm-native" +DEPENDS_append_omap-a15 = " ti-cgt-arm-native ti-cgt-pru-native" +DEPENDS_append_k2g = "ti-cgt-pru-native" +DEPENDS_append_ti33x = "ti-cgt-pru-native" +DEPENDS_append_ti43x = "ti-cgt-pru-native" DEPENDS_remove_ti33x = "ti-cgt6x-native" DEPENDS_remove_ti43x = "ti-cgt6x-native" DEPENDS_append_omapl1 = " ti-cgt-arm-native"
@@ -41,6 +44,7 @@ export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}" export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}" export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}" export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" +export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}" export ROOTDIR = "${B}" export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"
@@ -53,7 +57,7 @@ export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl" TI_PDK_XDCMAKE ?= "1" # By default, only build the cores with available toolchains -TI_PDK_LIMIT_CORES ?= "a15_0 ipu1_0 ipu1_1 ipu2_0 ipu2_1 c66x c66xdsp_1 c66xdsp_2 arm9_0 c674x a9host a8host" +TI_PDK_LIMIT_CORES ?= "a15_0 ipu1_0 ipu1_1 ipu2_0 ipu2_1 c66x c66xdsp_1 c66xdsp_2 arm9_0 c674x a9host a8host pru_0 pru_1" TI_PDK_LIMIT_SOCS ?= "" TI_PDK_LIMIT_BOARDS ?= "" TI_PDK_MAKE_TARGET ?= "release"
Signature · 1 line
1.9.1
Quoted 10 lines · Mahesh Radhakrishnan
Signed-off-by Mahesh Radhakrishnan <[email protected]>--- classes/ti-pdk.bbclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)classes/ti-pdk.bbclass +0
-0
classes/ti-pdk.bbclass inherit perlnative · line 13
Quoted 10 lines
classes/ti-pdk.bbclass +4
-1@@ -5,7 +5,10 @@ inherit perlnative DEPENDS = "ti-xdctools ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-pdk-build-rtos" -DEPENDS_append_omap-a15 = " ti-cgt-arm-native" +DEPENDS_append_omap-a15 = " ti-cgt-arm-native ti-cgt-pru-native" +DEPENDS_append_k2g = "ti-cgt-pru-native" +DEPENDS_append_ti33x = "ti-cgt-pru-native" +DEPENDS_append_ti43x = "ti-cgt-pru-native"
These lines ^^^ corrupt the DEPENDS variable when they append new values w/o whitespaces.
Quoted 28 lines
classes/ti-pdk.bbclass +0
-0DEPENDS_remove_ti33x = "ti-cgt6x-native"
DEPENDS_remove_ti43x= "ti-cgt6x-native"
DEPENDS_append_omapl1= " ti-cgt-arm-native"classes/ti-pdk.bbclass +2
-1@@ -41,6 +44,7 @@ export TOOLCHAIN_PATH_A15 = "${GCC_ARM_NONE_TOOLCHAIN}" export TOOLCHAIN_PATH_M4 = "${M4_TOOLCHAIN_INSTALL_DIR}" export TOOLCHAIN_PATH_Arm9 = "${M4_TOOLCHAIN_INSTALL_DIR}" export C6X_GEN_INSTALL_PATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" +export CL_PRU_INSTALL_PATH = "${TI_CGT_PRU_INSTALL_DIR}" export ROOTDIR = "${B}" export BIOS_INSTALL_PATH = "${SYSBIOS_INSTALL_DIR}"@@ -53,7 +57,7 @@ export SECTTI="perl ${CG_XML_INSTALL_DIR}/ofd/sectti.pl" TI_PDK_XDCMAKE ?= "1" # By default, only build the cores with available toolchains -TI_PDK_LIMIT_CORES ?= "a15_0 ipu1_0 ipu1_1 ipu2_0 ipu2_1 c66x c66xdsp_1 c66xdsp_2 arm9_0 c674x a9host a8host" +TI_PDK_LIMIT_CORES ?= "a15_0 ipu1_0 ipu1_1 ipu2_0 ipu2_1 c66x c66xdsp_1 c66xdsp_2 arm9_0 c674x a9host a8host pru_0 pru_1" TI_PDK_LIMIT_SOCS ?= "" TI_PDK_LIMIT_BOARDS ?= "" TI_PDK_MAKE_TARGET ?= "release"Signature · 7 lines
1.9.1 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti