[meta-ti] [PATCH] ti-pdk-bbclass: Enabling support for pru firmware builds

Denys Dmytriyenko denys at ti.com
Mon Aug 7 12:17:57 PDT 2017


On Thu, Aug 03, 2017 at 05:50:01PM -0400, Mahesh Radhakrishnan wrote:
> Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2 at ti.com>
> ---
>  classes/ti-pdk.bbclass | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
> index 62a4b06..1753969 100644
> --- a/classes/ti-pdk.bbclass
> +++ b/classes/ti-pdk.bbclass
> @@ -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.


>  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"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list