Skip to contentSkip to conversation

Make ti-xdctools a native recipe

PATCH In review Joshua Watt 2 participants 9 messages Nov 28, 2017 – Dec 18, 2017

lore
Share & tools
lore
#0 lore raw

From: "Mertz, Timothy" <[email protected]>

ti-xdctools should be a native recipe as it more accurately reflects how it is supposed to be used. In addition, this allows it to be built as nativesdk and included in SDK image tools

---
 classes/ti-pdk.bbclass                                    | 2 +-
 recipes-bsp/dspdce-fw/dspdce-fw_git.bb                    | 2 +-
 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb               | 2 +-
 recipes-bsp/ipumm-fw/ipumm-fw_git.bb                      | 2 +-
 recipes-devtools/gdbc6x/gdbserver-c6x_git.bb              | 2 +-
 recipes-ti/c6accel/ti-c6accel.inc                         | 2 +-
 recipes-ti/codec-engine/ti-codec-engine.inc               | 2 +-
 recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb  | 2 +-
 recipes-ti/devtools/ti-xdctools_3.50.03.33.bb             | 4 ++++
 recipes-ti/dmai/ti-dmai.inc                               | 2 +-
 recipes-ti/dsplink/ti-dsplink.inc                         | 2 +-
 recipes-ti/includes/ti-paths.inc                          | 2 +-
 recipes-ti/ipc/ti-ipc-examples-linux_git.bb               | 2 +-
 recipes-ti/ipc/ti-ipc-examples_git.bb                     | 2 +-
 recipes-ti/ipc/ti-ipc-rtos_git.bb                         | 2 +-
 recipes-ti/local-power-manager/ti-local-power-manager.inc | 2 +-
 recipes-ti/openmp-rtos/openmp-rtos_git.bb                 | 2 +-
 recipes-ti/syslink/ti-syslink.inc                         | 2 +-
 18 files changed, 21 insertions(+), 17 deletions(-)
classes/ti-pdk.bbclass +1 -1
index f876802c..b84b161a 100644
@@ -3,7 +3,7 @@ require recipes-ti/includes/ti-staging.inc
 
 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-cgt-pru-native ti-pdk-build-rtos"
+DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos"
 
 DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
 DEPENDS_remove_ti33x = "ti-cgt6x-native"
recipes-bsp/dspdce-fw/dspdce-fw_git.bb +1 -1
index 2bada7b6..2756c2d8 100644
@@ -17,7 +17,7 @@ require recipes-ti/includes/ti-paths.inc
 PR = "r4"
 inherit update-alternatives
 
-DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
+DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
 
 export HWVERSION = "ES10"
 export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti"
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +1 -1
index f5244785..edd67e37 100644
@@ -3,7 +3,7 @@ require recipes-ti/includes/ti-paths.inc
 
 PR = "${INC_PR}.1"
 
-DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
+DEPENDS = "ti-sysbios ti-xdctools-native gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
recipes-bsp/ipumm-fw/ipumm-fw_git.bb +1 -1
index 633cb135..7fa06a87 100644
@@ -28,7 +28,7 @@ require recipes-ti/includes/ti-paths.inc
 
 inherit update-alternatives
 
-DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
+DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
 
 export HWVERSION="ES10"
 export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
recipes-devtools/gdbc6x/gdbserver-c6x_git.bb +1 -1
index f4dc51dc..79b584be 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "TI gdb-server to be used with c6xgdb."
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495"
 
-DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools"
+DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools-native"
 
 PR = "${INC_PR}.0"
 
recipes-ti/c6accel/ti-c6accel.inc +1 -1
index 65990a85..7e7fb296 100644
@@ -29,7 +29,7 @@ BINFILE="c6accel_${PV}_Linux-x86_Setup.bin"
 TI_BIN_UNPK_CMDS="Y:workdir"
 
 DEPENDS = "ti-codec-engine ti-xdais ti-dsplink ti-dspbios" 
-DEPENDS += "ti-edma3lld ti-cgt6x ti-xdctools ti-framework-components" 
+DEPENDS += "ti-edma3lld ti-cgt6x ti-xdctools-native ti-framework-components"
 DEPENDS += "ti-biosutils" 
 
 TIARGS = ' \
recipes-ti/codec-engine/ti-codec-engine.inc +1 -1
index 15bd4642..b4d366eb 100644
@@ -18,7 +18,7 @@ S = "${WORKDIR}/codec_engine_${PV}"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce/${PV}/exports/codec_engine_${PV},lite.tar.gz;name=cetarball "
 
-DEPENDS = "ti-framework-components ti-xdais ti-xdctools ti-linuxutils"
+DEPENDS = "ti-framework-components ti-xdais ti-xdctools-native ti-linuxutils"
 DEPENDS_append_dm6446 	= " ti-dspbios ti-dsplink ti-local-power-manager ti-cgt6x ti-biosutils ti-edma3lld"
 DEPENDS_append_dm6467 	= " ti-dspbios ti-dsplink ti-cgt6x ti-biosutils ti-edma3lld"
 DEPENDS_append_omap3	= " ti-dspbios ti-dsplink ti-local-power-manager ti-cgt6x ti-biosutils ti-edma3lld"
recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb +1 -1
index 5c87b4cd..e14f1c1e 100644
@@ -68,7 +68,7 @@ TI_BIN_UNPK_CMDS = "Y:workdir"
 
 S = "${CODEC_SUITE_NAME}"
 
-DEPENDS = "ti-cgt6x ti-xdctools ti-dspbios ti-codec-engine ti-linuxutils"
+DEPENDS = "ti-cgt6x ti-xdctools-native ti-dspbios ti-codec-engine ti-linuxutils"
 
 #generic codec
 DSPSUFFIX_omap3530 = "x64P"
recipes-ti/devtools/ti-xdctools_3.50.03.33.bb +4 -0
index 73ab3bdf..6ab2b94a 100644
@@ -7,3 +7,7 @@ LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;beginline=1;endli
 
 SRC_URI[xdczip.md5sum] = "21310b647275a7c7dd5b37dcb96c0b1b"
 SRC_URI[xdczip.sha256sum] = "afe8616773e63b01e79e8cfacaf4d2c8d3b92c798c7f8cf5d1c7b5fe2060bbe4"
+
+FILES_${PN} += "${XDC_INSTALL_DIR_RECIPE}"
+
+BBCLASSEXTEND = "native nativesdk"
recipes-ti/dmai/ti-dmai.inc +1 -1
index f81b4cff..50621184 100644
@@ -29,7 +29,7 @@ SRC_URI = "svn://gforge.ti.com/svn/dmai/;module=${DMAIBRANCH};protocol=https;use
         file://arago-tdox \
 	"
 
-DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec-engine ti-xdctools"
+DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec-engine ti-xdctools-native"
 
 DEPENDS_append_dm6446 	= " ti-codecs-dm6446   ti-dspbios ti-cgt6x ti-linuxutils"
 DEPENDS_append_dm6467 	= " ti-codecs-dm6467   ti-dspbios ti-cgt6x ti-linuxutils"
recipes-ti/dsplink/ti-dsplink.inc +1 -1
index 78b53cf0..e0096155 100644
@@ -30,7 +30,7 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/${PV_DL_PATH}/dsplink_l
            file://ti-dsplink-examples-loadmodules.sh \
            file://ti-dsplink-examples-unloadmodules.sh "
 
-DEPENDS = "ti-dspbios ti-xdctools ti-cgt6x" 
+DEPENDS = "ti-dspbios ti-xdctools-native ti-cgt6x"
 DEPENDS += "virtual/kernel perl-native" 
 
 # SOC_FAMILY configuration
recipes-ti/includes/ti-paths.inc +1 -1
index ebd4b8a5..3745ec07 100644
@@ -88,7 +88,7 @@ export SYSBIOS_INSTALL_DIR    = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECI
 export SYSLINK_INSTALL_DIR    = "${STAGING_DIR_TARGET}${SYSLINK_INSTALL_DIR_RECIPE}"
 export UIA_INSTALL_DIR        = "${STAGING_DIR_TARGET}${UIA_INSTALL_DIR_RECIPE}"
 export XDAIS_INSTALL_DIR      = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE}"
-export XDC_INSTALL_DIR        = "${STAGING_DIR_TARGET}${XDC_INSTALL_DIR_RECIPE}"
+export XDC_INSTALL_DIR        = "${STAGING_DIR_NATIVE}${XDC_INSTALL_DIR_RECIPE}"
 export PDK_INSTALL_DIR        = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}"
 export OSAL_INSTALL_DIR       = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}"
 export M4_TOOLCHAIN_INSTALL_DIR    = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
recipes-ti/ipc/ti-ipc-examples-linux_git.bb +1 -1
index 2340206c..545448c6 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running bios"
 require ti-ipc-examples.inc
 
-DEPENDS = "ti-ipc ti-xdctools ti-sysbios ti-ipc-rtos"
+DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos"
 
 do_compile_append() {
 
recipes-ti/ipc/ti-ipc-examples_git.bb +1 -1
index 5482ce41..36df294e 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running linux"
 require ti-ipc-examples.inc
 
-DEPENDS = "ti-xdctools ti-sysbios ti-ipc-rtos"
+DEPENDS = "ti-xdctools-native ti-sysbios ti-ipc-rtos"
 
 do_compile_append() {
 
recipes-ti/ipc/ti-ipc-rtos_git.bb +1 -1
index f4eefa85..4040c4d9 100644
@@ -2,7 +2,7 @@ require ti-ipc.inc
 require ti-ipc-common.inc
 require ti-ipc-rtos.inc
 
-DEPENDS = "ti-xdctools ti-sysbios doxygen-native zip-native"
+DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native"
 
 PACKAGES =+ "${PN}-fw"
 FILES_${PN}-fw = "${base_libdir}/firmware/*"
recipes-ti/local-power-manager/ti-local-power-manager.inc +1 -1
index 2f2b5256..0e5d4f29 100644
@@ -21,7 +21,7 @@ S = "${WORKDIR}/local_power_manager_linux_${PV}"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/lpm/${PV}/exports/local_power_manager_linux_${PV}.tar.gz;name=lpmtarball"
 
-DEPENDS = "ti-dsplink ti-xdctools"
+DEPENDS = "ti-dsplink ti-xdctools-native"
 DEPENDS += "virtual/kernel"
 
 # SOC_FAMILY configuration
recipes-ti/openmp-rtos/openmp-rtos_git.bb +1 -1
index f5bf4765..97474651 100644
@@ -19,7 +19,7 @@ SRCREV = "a2a518dcc9154a372b38bd5be8a483359123823c"
 
 LIC_FILES_CHKSUM = "file://docs/license/omp_manifest_template.html;md5=61a6972303c0447b7c056195d7ebafee"
 
-DEPENDS = "common-csl-ip-rtos ti-xdctools ti-ipc-rtos ti-sysbios ti-cgt6x-native libulm zip-native"
+DEPENDS = "common-csl-ip-rtos ti-xdctools-native ti-ipc-rtos ti-sysbios ti-cgt6x-native libulm zip-native"
 DEPENDS_append_k2hk = " qmss-lld-rtos cppi-lld-rtos"
 DEPENDS_append_k2e = " qmss-lld-rtos cppi-lld-rtos"
 DEPENDS_append_k2l-evm = " qmss-lld-rtos cppi-lld-rtos"
recipes-ti/syslink/ti-syslink.inc +1 -1
index af5f896a..5ff6af7c 100644
@@ -31,7 +31,7 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/sy
            file://syslink.pc \
           "
 
-DEPENDS = "ti-sysbios ti-xdctools ti-cgt6x ti-ipc ti-cgt470"
+DEPENDS = "ti-sysbios ti-xdctools-native ti-cgt6x ti-ipc ti-cgt470"
 DEPENDS += "virtual/kernel" 
 
 #common frameq gateMP heapBufMP heapMemMP knlNotify listMP messageQ notify ringIO ringIO_gpp sharedRegion slaveLoader tilerDaemon
Signature · 1 line
2.14.3
#1 lore raw
Quoted 332 lines · Joshua Watt

From: "Mertz, Timothy" <[email protected]>

ti-xdctools should be a native recipe as it more accurately reflects how
it is supposed to be used. In addition, this allows it to be built as nativesdk and included in SDK image tools

---
 classes/ti-pdk.bbclass                                    | 2 +-
 recipes-bsp/dspdce-fw/dspdce-fw_git.bb                    | 2 +-
 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb               | 2 +-
 recipes-bsp/ipumm-fw/ipumm-fw_git.bb                      | 2 +-
 recipes-devtools/gdbc6x/gdbserver-c6x_git.bb              | 2 +-
 recipes-ti/c6accel/ti-c6accel.inc                         | 2 +-
 recipes-ti/codec-engine/ti-codec-engine.inc               | 2 +-
 recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb  | 2 +-
 recipes-ti/devtools/ti-xdctools_3.50.03.33.bb             | 4 ++++
 recipes-ti/dmai/ti-dmai.inc                               | 2 +-
 recipes-ti/dsplink/ti-dsplink.inc                         | 2 +-
 recipes-ti/includes/ti-paths.inc                          | 2 +-
 recipes-ti/ipc/ti-ipc-examples-linux_git.bb               | 2 +-
 recipes-ti/ipc/ti-ipc-examples_git.bb                     | 2 +-
 recipes-ti/ipc/ti-ipc-rtos_git.bb                         | 2 +-
 recipes-ti/local-power-manager/ti-local-power-manager.inc | 2 +-
 recipes-ti/openmp-rtos/openmp-rtos_git.bb                 | 2 +-
 recipes-ti/syslink/ti-syslink.inc                         | 2 +-
 18 files changed, 21 insertions(+), 17 deletions(-)
classes/ti-pdk.bbclass +0 -1
index f876802c..b84b161a 100644
@@ -3,7 +3,7 @@ require recipes-ti/includes/ti-staging.inc
 
 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-cgt-pru-native ti-pdk-build-rtos"
+DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common- csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti- cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos"

DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
DEPENDS_remove_ti33x = "ti-cgt6x-native"

recipes- renamed from recipes-bsp/dspdce-fw/dspdce-fw_git.bb +0 -0

bsp/dspdce-fw/dspdce-fw_git.bb
index 2bada7b6..2756c2d8 100644

recipes-bsp/dspdce-fw/dspdce-fw_git.bb +0 -1
@@ -17,7 +17,7 @@ require recipes-ti/includes/ti-paths.inc
 PR = "r4"
 inherit update-alternatives
 
-DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-

components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native" +DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti- framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"

export HWVERSION = "ES10"
export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti"

recipes- renamed from recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +0 -0

bsp/edma3-lld/edma3-lld-rtos_git.bb
index f5244785..edd67e37 100644

recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +0 -1
@@ -3,7 +3,7 @@ require recipes-ti/includes/ti-paths.inc
 
 PR = "${INC_PR}.1"
 
-DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-

arm-native ti-cgt6x-native"
+DEPENDS = "ti-sysbios ti-xdctools-native gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"

COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone" PACKAGE_ARCH = "${MACHINE_ARCH}"

recipes- renamed from recipes-bsp/ipumm-fw/ipumm-fw_git.bb +0 -0

bsp/ipumm-fw/ipumm-fw_git.bb
index 633cb135..7fa06a87 100644

recipes-bsp/ipumm-fw/ipumm-fw_git.bb +0 -1
@@ -28,7 +28,7 @@ require recipes-ti/includes/ti-paths.inc
 
 inherit update-alternatives
 
-DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-

components ti-xdais ti-cgt-arm-native ti-ipc-rtos" +DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti- framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"

export HWVERSION="ES10"
export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"

recipes- renamed from recipes-devtools/gdbc6x/gdbserver-c6x_git.bb +0 -0

devtools/gdbc6x/gdbserver-c6x_git.bb
index f4dc51dc..79b584be 100644

recipes-devtools/gdbc6x/gdbserver-c6x_git.bb +0 -0
@@ -2,7 +2,7 @@ DESCRIPTION = "TI gdb-server to be used with c6xgdb."
 LICENSE = "BSD"
 LIC_FILES_CHKSUM =

"file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495"

-DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti- sysbios ti-xdctools"
+DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti- sysbios ti-xdctools-native"

PR = "${INC_PR}.0"

recipes- renamed from recipes-ti/c6accel/ti-c6accel.inc +0 -0

ti/c6accel/ti-c6accel.inc
index 65990a85..7e7fb296 100644

recipes-ti/c6accel/ti-c6accel.inc +0 -1
@@ -29,7 +29,7 @@ BINFILE="c6accel_${PV}_Linux-x86_Setup.bin"
 TI_BIN_UNPK_CMDS="Y:workdir"
 
 DEPENDS = "ti-codec-engine ti-xdais ti-dsplink ti-dspbios" 
-DEPENDS += "ti-edma3lld ti-cgt6x ti-xdctools ti-framework-

components"
+DEPENDS += "ti-edma3lld ti-cgt6x ti-xdctools-native ti-framework- components"
DEPENDS += "ti-biosutils"

TIARGS = ' \

recipes- renamed from recipes-ti/codec-engine/ti-codec-engine.inc +0 -0

ti/codec-engine/ti-codec-engine.inc
index 15bd4642..b4d366eb 100644

recipes-ti/codec-engine/ti-codec-engine.inc +0 -0
@@ -18,7 +18,7 @@ S = "${WORKDIR}/codec_engine_${PV}"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targ

etcontent/ce/${PV}/exports/codec_engine_${PV},lite.tar.gz;name=cetarb all "

-DEPENDS = "ti-framework-components ti-xdais ti-xdctools ti- linuxutils"
+DEPENDS = "ti-framework-components ti-xdais ti-xdctools-native ti- linuxutils"
DEPENDS_append_dm6446 = " ti-dspbios ti-dsplink ti-local-
power-manager ti-cgt6x ti-biosutils ti-edma3lld"
DEPENDS_append_dm6467 = " ti-dspbios ti-dsplink ti-cgt6x ti-
biosutils ti-edma3lld"
DEPENDS_append_omap3 = " ti-dspbios ti-dsplink ti-local-
power-manager ti-cgt6x ti-biosutils ti-edma3lld"

recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb +0 -1
index 5c87b4cd..e14f1c1e 100644
@@ -68,7 +68,7 @@ TI_BIN_UNPK_CMDS = "Y:workdir"
 
 S = "${CODEC_SUITE_NAME}"
 
-DEPENDS = "ti-cgt6x ti-xdctools ti-dspbios ti-codec-engine ti-

linuxutils"
+DEPENDS = "ti-cgt6x ti-xdctools-native ti-dspbios ti-codec-engine ti-linuxutils"

#generic codec
DSPSUFFIX_omap3530 = "x64P"

recipes- renamed from recipes-ti/devtools/ti-xdctools_3.50.03.33.bb +0 -0

ti/devtools/ti-xdctools_3.50.03.33.bb
index 73ab3bdf..6ab2b94a 100644

recipes-ti/devtools/ti-xdctools_3.50.03.33.bb +0 -0
@@ -7,3 +7,7 @@ LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/pac

kage.html;beginline=1;endli

SRC_URI[xdczip.md5sum] = "21310b647275a7c7dd5b37dcb96c0b1b" SRC_URI[xdczip.sha256sum] =
"afe8616773e63b01e79e8cfacaf4d2c8d3b92c798c7f8cf5d1c7b5fe2060bbe4"

recipes-ti/devtools/ti-xdctools_3.50.03.33.bb +4 -0
+
+FILES_${PN} += "${XDC_INSTALL_DIR_RECIPE}"
+
+BBCLASSEXTEND = "native nativesdk"
recipes-ti/dmai/ti- renamed from recipes-ti/dmai/ti-dmai.inc +0 -0

dmai.inc
index f81b4cff..50621184 100644

recipes-ti/dmai/ti-dmai.inc +0 -0
@@ -29,7 +29,7 @@ SRC_URI =

"svn://gforge.ti.com/svn/dmai/;module=${DMAIBRANCH};protocol=https;us e

         file://arago-tdox \
recipes-ti/dmai/ti-dmai.inc +0 -1
 	"
 
-DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec-

engine ti-xdctools"
+DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec- engine ti-xdctools-native"

DEPENDS_append_dm6446 = " ti-codecs-dm6446 ti-dspbios ti-
cgt6x ti-linuxutils"
DEPENDS_append_dm6467 = " ti-codecs-dm6467 ti-dspbios ti-
cgt6x ti-linuxutils"

recipes- renamed from recipes-ti/dsplink/ti-dsplink.inc +0 -0

ti/dsplink/ti-dsplink.inc
index 78b53cf0..e0096155 100644

recipes-ti/dsplink/ti-dsplink.inc +0 -0
@@ -30,7 +30,7 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_publ

ic_sw/${PV_DL_PATH}/dsplink_l

            file://ti-dsplink-examples-loadmodules.sh \
            file://ti-dsplink-examples-unloadmodules.sh "
recipes-ti/dsplink/ti-dsplink.inc +1 -1
-DEPENDS = "ti-dspbios ti-xdctools ti-cgt6x" 
+DEPENDS = "ti-dspbios ti-xdctools-native ti-cgt6x"
 DEPENDS += "virtual/kernel perl-native" 
 
 # SOC_FAMILY configuration
recipes- renamed from recipes-ti/includes/ti-paths.inc +0 -0

ti/includes/ti-paths.inc
index ebd4b8a5..3745ec07 100644

recipes-ti/includes/ti-paths.inc +0 -0
@@ -88,7 +88,7 @@ export SYSBIOS_INSTALL_DIR    =

"${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECI
export SYSLINK_INSTALL_DIR =
"${STAGING_DIR_TARGET}${SYSLINK_INSTALL_DIR_RECIPE}"
export UIA_INSTALL_DIR =
"${STAGING_DIR_TARGET}${UIA_INSTALL_DIR_RECIPE}"
export XDAIS_INSTALL_DIR =
"${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE}"
-export XDC_INSTALL_DIR =
"${STAGING_DIR_TARGET}${XDC_INSTALL_DIR_RECIPE}"
+export XDC_INSTALL_DIR =
"${STAGING_DIR_NATIVE}${XDC_INSTALL_DIR_RECIPE}"
export PDK_INSTALL_DIR =
"${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}"
export OSAL_INSTALL_DIR =
"${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}"
export M4_TOOLCHAIN_INSTALL_DIR =
"${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"

recipes- renamed from recipes-ti/ipc/ti-ipc-examples-linux_git.bb +0 -0

ti/ipc/ti-ipc-examples-linux_git.bb
index 2340206c..545448c6 100644

recipes-ti/ipc/ti-ipc-examples-linux_git.bb +0 -0
@@ -1,7 +1,7 @@
 DESCRIPTION = "TI Inter Process Communication (IPC) examples with

Host running bios"
require ti-ipc-examples.inc

recipes-ti/ipc/ti-ipc-examples-linux_git.bb +1 -1
-DEPENDS = "ti-ipc ti-xdctools ti-sysbios ti-ipc-rtos"
+DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos"
 
 do_compile_append() {
recipes- renamed from recipes-ti/ipc/ti-ipc-examples_git.bb +0 -0

ti/ipc/ti-ipc-examples_git.bb
index 5482ce41..36df294e 100644

recipes-ti/ipc/ti-ipc-examples_git.bb +0 -0
@@ -1,7 +1,7 @@
 DESCRIPTION = "TI Inter Process Communication (IPC) examples with

Host running linux"
require ti-ipc-examples.inc

recipes-ti/ipc/ti-ipc-examples_git.bb +1 -1
-DEPENDS = "ti-xdctools ti-sysbios ti-ipc-rtos"
+DEPENDS = "ti-xdctools-native ti-sysbios ti-ipc-rtos"
 
 do_compile_append() {
recipes-ti/ipc/ti- renamed from recipes-ti/ipc/ti-ipc-rtos_git.bb +0 -0

ipc-rtos_git.bb
index f4eefa85..4040c4d9 100644

recipes-ti/ipc/ti-ipc-rtos_git.bb +1 -1
@@ -2,7 +2,7 @@ require ti-ipc.inc
 require ti-ipc-common.inc
 require ti-ipc-rtos.inc
 
-DEPENDS = "ti-xdctools ti-sysbios doxygen-native zip-native"
+DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native"
 
 PACKAGES =+ "${PN}-fw"
 FILES_${PN}-fw = "${base_libdir}/firmware/*"
(quoted diff) +0 -0

manager.inc b/recipes-ti/local-power-manager/ti-local-power- manager.inc
index 2f2b5256..0e5d4f29 100644

recipes-ti/local-power-manager/ti-local-power-manager.inc +0 -0
@@ -21,7 +21,7 @@ S = "${WORKDIR}/local_power_manager_linux_${PV}"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targ

etcontent/lpm/${PV}/exports/local_power_manager_linux_${PV}.tar.gz;na me=lpmtarball"

recipes-ti/local-power-manager/ti-local-power-manager.inc +1 -1
-DEPENDS = "ti-dsplink ti-xdctools"
+DEPENDS = "ti-dsplink ti-xdctools-native"
 DEPENDS += "virtual/kernel"
 
 # SOC_FAMILY configuration
recipes- renamed from recipes-ti/openmp-rtos/openmp-rtos_git.bb +0 -0

ti/openmp-rtos/openmp-rtos_git.bb
index f5bf4765..97474651 100644

recipes-ti/openmp-rtos/openmp-rtos_git.bb +0 -0
@@ -19,7 +19,7 @@ SRCREV = "a2a518dcc9154a372b38bd5be8a483359123823c"
 
 LIC_FILES_CHKSUM =

"file://docs/license/omp_manifest_template.html;md5=61a6972303c0447b7 c056195d7ebafee"

-DEPENDS = "common-csl-ip-rtos ti-xdctools ti-ipc-rtos ti-sysbios ti- cgt6x-native libulm zip-native"
+DEPENDS = "common-csl-ip-rtos ti-xdctools-native ti-ipc-rtos ti- sysbios ti-cgt6x-native libulm zip-native"
DEPENDS_append_k2hk = " qmss-lld-rtos cppi-lld-rtos" DEPENDS_append_k2e = " qmss-lld-rtos cppi-lld-rtos" DEPENDS_append_k2l-evm = " qmss-lld-rtos cppi-lld-rtos"

recipes- renamed from recipes-ti/syslink/ti-syslink.inc +0 -0

ti/syslink/ti-syslink.inc
index af5f896a..5ff6af7c 100644

recipes-ti/syslink/ti-syslink.inc +0 -0
@@ -31,7 +31,7 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_publ

ic_sw/sdo_sb/targetcontent/sy

            file://syslink.pc \
           "
recipes-ti/syslink/ti-syslink.inc +1 -1
-DEPENDS = "ti-sysbios ti-xdctools ti-cgt6x ti-ipc ti-cgt470"
+DEPENDS = "ti-sysbios ti-xdctools-native ti-cgt6x ti-ipc ti-cgt470"
 DEPENDS += "virtual/kernel" 
 
 #common frameq gateMP heapBufMP heapMemMP knlNotify listMP messageQ
Quoted 1 line

notify ringIO ringIO_gpp sharedRegion slaveLoader tilerDaemon

Ping?

#2 lore raw

PATCH v2 1/1 Make ti-xdctools a native recipe

In reply to Joshua Watt

From: "Mertz, Timothy" <[email protected]>

ti-xdctools should be a native recipe as it more accurately reflects how it is supposed to be used. In addition, this allows it to be built as nativesdk and included in SDK image tools

---
 classes/ti-pdk.bbclass                                    | 2 +-
 recipes-bsp/dspdce-fw/dspdce-fw_git.bb                    | 2 +-
 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb               | 2 +-
 recipes-bsp/ipumm-fw/ipumm-fw_git.bb                      | 2 +-
 recipes-devtools/gdbc6x/gdbserver-c6x_git.bb              | 2 +-
 recipes-ti/c6accel/ti-c6accel.inc                         | 2 +-
 recipes-ti/codec-engine/ti-codec-engine.inc               | 2 +-
 recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb  | 2 +-
 recipes-ti/devtools/ti-xdctools_3.50.03.33.bb             | 4 ++++
 recipes-ti/dmai/ti-dmai.inc                               | 2 +-
 recipes-ti/dsplink/ti-dsplink.inc                         | 2 +-
 recipes-ti/includes/ti-paths.inc                          | 2 +-
 recipes-ti/ipc/ti-ipc-examples-linux_git.bb               | 2 +-
 recipes-ti/ipc/ti-ipc-examples_git.bb                     | 2 +-
 recipes-ti/ipc/ti-ipc-rtos_git.bb                         | 2 +-
 recipes-ti/local-power-manager/ti-local-power-manager.inc | 2 +-
 recipes-ti/openmp-rtos/openmp-rtos_git.bb                 | 2 +-
 recipes-ti/syslink/ti-syslink.inc                         | 2 +-
 18 files changed, 21 insertions(+), 17 deletions(-)
classes/ti-pdk.bbclass +1 -1
index f876802c..b84b161a 100644
@@ -3,7 +3,7 @@ require recipes-ti/includes/ti-staging.inc
 
 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-cgt-pru-native ti-pdk-build-rtos"
+DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos"
 
 DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
 DEPENDS_remove_ti33x = "ti-cgt6x-native"
recipes-bsp/dspdce-fw/dspdce-fw_git.bb +1 -1
index 2bada7b6..2756c2d8 100644
@@ -17,7 +17,7 @@ require recipes-ti/includes/ti-paths.inc
 PR = "r4"
 inherit update-alternatives
 
-DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
+DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
 
 export HWVERSION = "ES10"
 export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti"
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +1 -1
index f5244785..edd67e37 100644
@@ -3,7 +3,7 @@ require recipes-ti/includes/ti-paths.inc
 
 PR = "${INC_PR}.1"
 
-DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
+DEPENDS = "ti-sysbios ti-xdctools-native gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
recipes-bsp/ipumm-fw/ipumm-fw_git.bb +1 -1
index 633cb135..7fa06a87 100644
@@ -28,7 +28,7 @@ require recipes-ti/includes/ti-paths.inc
 
 inherit update-alternatives
 
-DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
+DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
 
 export HWVERSION="ES10"
 export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
recipes-devtools/gdbc6x/gdbserver-c6x_git.bb +1 -1
index f4dc51dc..79b584be 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "TI gdb-server to be used with c6xgdb."
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495"
 
-DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools"
+DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools-native"
 
 PR = "${INC_PR}.0"
 
recipes-ti/c6accel/ti-c6accel.inc +1 -1
index 65990a85..7e7fb296 100644
@@ -29,7 +29,7 @@ BINFILE="c6accel_${PV}_Linux-x86_Setup.bin"
 TI_BIN_UNPK_CMDS="Y:workdir"
 
 DEPENDS = "ti-codec-engine ti-xdais ti-dsplink ti-dspbios" 
-DEPENDS += "ti-edma3lld ti-cgt6x ti-xdctools ti-framework-components" 
+DEPENDS += "ti-edma3lld ti-cgt6x ti-xdctools-native ti-framework-components"
 DEPENDS += "ti-biosutils" 
 
 TIARGS = ' \
recipes-ti/codec-engine/ti-codec-engine.inc +1 -1
index 15bd4642..b4d366eb 100644
@@ -18,7 +18,7 @@ S = "${WORKDIR}/codec_engine_${PV}"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce/${PV}/exports/codec_engine_${PV},lite.tar.gz;name=cetarball "
 
-DEPENDS = "ti-framework-components ti-xdais ti-xdctools ti-linuxutils"
+DEPENDS = "ti-framework-components ti-xdais ti-xdctools-native ti-linuxutils"
 DEPENDS_append_dm6446 	= " ti-dspbios ti-dsplink ti-local-power-manager ti-cgt6x ti-biosutils ti-edma3lld"
 DEPENDS_append_dm6467 	= " ti-dspbios ti-dsplink ti-cgt6x ti-biosutils ti-edma3lld"
 DEPENDS_append_omap3	= " ti-dspbios ti-dsplink ti-local-power-manager ti-cgt6x ti-biosutils ti-edma3lld"
recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb +1 -1
index 5c87b4cd..e14f1c1e 100644
@@ -68,7 +68,7 @@ TI_BIN_UNPK_CMDS = "Y:workdir"
 
 S = "${CODEC_SUITE_NAME}"
 
-DEPENDS = "ti-cgt6x ti-xdctools ti-dspbios ti-codec-engine ti-linuxutils"
+DEPENDS = "ti-cgt6x ti-xdctools-native ti-dspbios ti-codec-engine ti-linuxutils"
 
 #generic codec
 DSPSUFFIX_omap3530 = "x64P"
recipes-ti/devtools/ti-xdctools_3.50.03.33.bb +4 -0
index 73ab3bdf..6ab2b94a 100644
@@ -7,3 +7,7 @@ LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;beginline=1;endli
 
 SRC_URI[xdczip.md5sum] = "21310b647275a7c7dd5b37dcb96c0b1b"
 SRC_URI[xdczip.sha256sum] = "afe8616773e63b01e79e8cfacaf4d2c8d3b92c798c7f8cf5d1c7b5fe2060bbe4"
+
+FILES_${PN} += "${XDC_INSTALL_DIR_RECIPE}"
+
+BBCLASSEXTEND = "native nativesdk"
recipes-ti/dmai/ti-dmai.inc +1 -1
index f81b4cff..50621184 100644
@@ -29,7 +29,7 @@ SRC_URI = "svn://gforge.ti.com/svn/dmai/;module=${DMAIBRANCH};protocol=https;use
         file://arago-tdox \
 	"
 
-DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec-engine ti-xdctools"
+DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec-engine ti-xdctools-native"
 
 DEPENDS_append_dm6446 	= " ti-codecs-dm6446   ti-dspbios ti-cgt6x ti-linuxutils"
 DEPENDS_append_dm6467 	= " ti-codecs-dm6467   ti-dspbios ti-cgt6x ti-linuxutils"
recipes-ti/dsplink/ti-dsplink.inc +1 -1
index 78b53cf0..e0096155 100644
@@ -30,7 +30,7 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/${PV_DL_PATH}/dsplink_l
            file://ti-dsplink-examples-loadmodules.sh \
            file://ti-dsplink-examples-unloadmodules.sh "
 
-DEPENDS = "ti-dspbios ti-xdctools ti-cgt6x" 
+DEPENDS = "ti-dspbios ti-xdctools-native ti-cgt6x"
 DEPENDS += "virtual/kernel perl-native" 
 
 # SOC_FAMILY configuration
recipes-ti/includes/ti-paths.inc +1 -1
index ebd4b8a5..3745ec07 100644
@@ -88,7 +88,7 @@ export SYSBIOS_INSTALL_DIR    = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECI
 export SYSLINK_INSTALL_DIR    = "${STAGING_DIR_TARGET}${SYSLINK_INSTALL_DIR_RECIPE}"
 export UIA_INSTALL_DIR        = "${STAGING_DIR_TARGET}${UIA_INSTALL_DIR_RECIPE}"
 export XDAIS_INSTALL_DIR      = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE}"
-export XDC_INSTALL_DIR        = "${STAGING_DIR_TARGET}${XDC_INSTALL_DIR_RECIPE}"
+export XDC_INSTALL_DIR        = "${STAGING_DIR_NATIVE}${XDC_INSTALL_DIR_RECIPE}"
 export PDK_INSTALL_DIR        = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}"
 export OSAL_INSTALL_DIR       = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}"
 export M4_TOOLCHAIN_INSTALL_DIR    = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
recipes-ti/ipc/ti-ipc-examples-linux_git.bb +1 -1
index 2340206c..545448c6 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running bios"
 require ti-ipc-examples.inc
 
-DEPENDS = "ti-ipc ti-xdctools ti-sysbios ti-ipc-rtos"
+DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos"
 
 do_compile_append() {
 
recipes-ti/ipc/ti-ipc-examples_git.bb +1 -1
index 5482ce41..36df294e 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running linux"
 require ti-ipc-examples.inc
 
-DEPENDS = "ti-xdctools ti-sysbios ti-ipc-rtos"
+DEPENDS = "ti-xdctools-native ti-sysbios ti-ipc-rtos"
 
 do_compile_append() {
 
recipes-ti/ipc/ti-ipc-rtos_git.bb +1 -1
index f4eefa85..4040c4d9 100644
@@ -2,7 +2,7 @@ require ti-ipc.inc
 require ti-ipc-common.inc
 require ti-ipc-rtos.inc
 
-DEPENDS = "ti-xdctools ti-sysbios doxygen-native zip-native"
+DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native"
 
 PACKAGES =+ "${PN}-fw"
 FILES_${PN}-fw = "${base_libdir}/firmware/*"
recipes-ti/local-power-manager/ti-local-power-manager.inc +1 -1
index 2f2b5256..0e5d4f29 100644
@@ -21,7 +21,7 @@ S = "${WORKDIR}/local_power_manager_linux_${PV}"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/lpm/${PV}/exports/local_power_manager_linux_${PV}.tar.gz;name=lpmtarball"
 
-DEPENDS = "ti-dsplink ti-xdctools"
+DEPENDS = "ti-dsplink ti-xdctools-native"
 DEPENDS += "virtual/kernel"
 
 # SOC_FAMILY configuration
recipes-ti/openmp-rtos/openmp-rtos_git.bb +1 -1
index f5bf4765..97474651 100644
@@ -19,7 +19,7 @@ SRCREV = "a2a518dcc9154a372b38bd5be8a483359123823c"
 
 LIC_FILES_CHKSUM = "file://docs/license/omp_manifest_template.html;md5=61a6972303c0447b7c056195d7ebafee"
 
-DEPENDS = "common-csl-ip-rtos ti-xdctools ti-ipc-rtos ti-sysbios ti-cgt6x-native libulm zip-native"
+DEPENDS = "common-csl-ip-rtos ti-xdctools-native ti-ipc-rtos ti-sysbios ti-cgt6x-native libulm zip-native"
 DEPENDS_append_k2hk = " qmss-lld-rtos cppi-lld-rtos"
 DEPENDS_append_k2e = " qmss-lld-rtos cppi-lld-rtos"
 DEPENDS_append_k2l-evm = " qmss-lld-rtos cppi-lld-rtos"
recipes-ti/syslink/ti-syslink.inc +1 -1
index af5f896a..5ff6af7c 100644
@@ -31,7 +31,7 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/sy
            file://syslink.pc \
           "
 
-DEPENDS = "ti-sysbios ti-xdctools ti-cgt6x ti-ipc ti-cgt470"
+DEPENDS = "ti-sysbios ti-xdctools-native ti-cgt6x ti-ipc ti-cgt470"
 DEPENDS += "virtual/kernel" 
 
 #common frameq gateMP heapBufMP heapMemMP knlNotify listMP messageQ notify ringIO ringIO_gpp sharedRegion slaveLoader tilerDaemon
Signature · 1 line
2.14.3
#3 lore raw

Thanks! Can you please detail the changes between v1 and v2 of the patch? We are still investigating v1 of the patch and how it affects our releases...

Signature · 1 line
Denys
Quoted 265 lines · Joshua Watt

From: "Mertz, Timothy" <[email protected]>

ti-xdctools should be a native recipe as it more accurately reflects how it is supposed to be used. In addition, this allows it to be built as nativesdk and included in SDK image tools

---
 classes/ti-pdk.bbclass                                    | 2 +-
 recipes-bsp/dspdce-fw/dspdce-fw_git.bb                    | 2 +-
 recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb               | 2 +-
 recipes-bsp/ipumm-fw/ipumm-fw_git.bb                      | 2 +-
 recipes-devtools/gdbc6x/gdbserver-c6x_git.bb              | 2 +-
 recipes-ti/c6accel/ti-c6accel.inc                         | 2 +-
 recipes-ti/codec-engine/ti-codec-engine.inc               | 2 +-
 recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb  | 2 +-
 recipes-ti/devtools/ti-xdctools_3.50.03.33.bb             | 4 ++++
 recipes-ti/dmai/ti-dmai.inc                               | 2 +-
 recipes-ti/dsplink/ti-dsplink.inc                         | 2 +-
 recipes-ti/includes/ti-paths.inc                          | 2 +-
 recipes-ti/ipc/ti-ipc-examples-linux_git.bb               | 2 +-
 recipes-ti/ipc/ti-ipc-examples_git.bb                     | 2 +-
 recipes-ti/ipc/ti-ipc-rtos_git.bb                         | 2 +-
 recipes-ti/local-power-manager/ti-local-power-manager.inc | 2 +-
 recipes-ti/openmp-rtos/openmp-rtos_git.bb                 | 2 +-
 recipes-ti/syslink/ti-syslink.inc                         | 2 +-
 18 files changed, 21 insertions(+), 17 deletions(-)
classes/ti-pdk.bbclass +1 -1
index f876802c..b84b161a 100644
@@ -3,7 +3,7 @@ require recipes-ti/includes/ti-staging.inc
 
 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-cgt-pru-native ti-pdk-build-rtos"
+DEPENDS = "ti-xdctools-native ti-cg-xml-native ti-sysbios common-csl-ip-rtos libxml-simple-perl-native gcc-arm-none-eabi-native ti-cgt6x-native ti-cgt-pru-native ti-pdk-build-rtos"
 
 DEPENDS_append_omap-a15 = " ti-cgt-arm-native"
 DEPENDS_remove_ti33x = "ti-cgt6x-native"
recipes-bsp/dspdce-fw/dspdce-fw_git.bb +1 -1
index 2bada7b6..2756c2d8 100644
@@ -17,7 +17,7 @@ require recipes-ti/includes/ti-paths.inc
 PR = "r4"
 inherit update-alternatives
 
-DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
+DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native"
 
 export HWVERSION = "ES10"
 export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti"
recipes-bsp/edma3-lld/edma3-lld-rtos_git.bb +1 -1
index f5244785..edd67e37 100644
@@ -3,7 +3,7 @@ require recipes-ti/includes/ti-paths.inc
 
 PR = "${INC_PR}.1"
 
-DEPENDS = "ti-sysbios ti-xdctools gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
+DEPENDS = "ti-sysbios ti-xdctools-native gcc-arm-none-eabi-native ti-cgt-arm-native ti-cgt6x-native"
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
recipes-bsp/ipumm-fw/ipumm-fw_git.bb +1 -1
index 633cb135..7fa06a87 100644
@@ -28,7 +28,7 @@ require recipes-ti/includes/ti-paths.inc
 
 inherit update-alternatives
 
-DEPENDS = "ti-xdctools ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
+DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos"
 
 export HWVERSION="ES10"
 export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti"
recipes-devtools/gdbc6x/gdbserver-c6x_git.bb +1 -1
index f4dc51dc..79b584be 100644
@@ -2,7 +2,7 @@ DESCRIPTION = "TI gdb-server to be used with c6xgdb."
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://../debian/copyright;md5=82c616b6c8f9c11c46feaaf8f9a11495"
 
-DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools"
+DEPENDS = "ti-xdais ti-framework-components ti-cgt6x-native ti-sysbios ti-xdctools-native"
 
 PR = "${INC_PR}.0"
 
recipes-ti/c6accel/ti-c6accel.inc +1 -1
index 65990a85..7e7fb296 100644
@@ -29,7 +29,7 @@ BINFILE="c6accel_${PV}_Linux-x86_Setup.bin"
 TI_BIN_UNPK_CMDS="Y:workdir"
 
 DEPENDS = "ti-codec-engine ti-xdais ti-dsplink ti-dspbios" 
-DEPENDS += "ti-edma3lld ti-cgt6x ti-xdctools ti-framework-components" 
+DEPENDS += "ti-edma3lld ti-cgt6x ti-xdctools-native ti-framework-components"
 DEPENDS += "ti-biosutils" 
 
 TIARGS = ' \
recipes-ti/codec-engine/ti-codec-engine.inc +1 -1
index 15bd4642..b4d366eb 100644
@@ -18,7 +18,7 @@ S = "${WORKDIR}/codec_engine_${PV}"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce/${PV}/exports/codec_engine_${PV},lite.tar.gz;name=cetarball "
 
-DEPENDS = "ti-framework-components ti-xdais ti-xdctools ti-linuxutils"
+DEPENDS = "ti-framework-components ti-xdais ti-xdctools-native ti-linuxutils"
 DEPENDS_append_dm6446 	= " ti-dspbios ti-dsplink ti-local-power-manager ti-cgt6x ti-biosutils ti-edma3lld"
 DEPENDS_append_dm6467 	= " ti-dspbios ti-dsplink ti-cgt6x ti-biosutils ti-edma3lld"
 DEPENDS_append_omap3	= " ti-dspbios ti-dsplink ti-local-power-manager ti-cgt6x ti-biosutils ti-edma3lld"
recipes-ti/codec-engine/ti-codecs-omap3530_4.00.00.00.bb +1 -1
index 5c87b4cd..e14f1c1e 100644
@@ -68,7 +68,7 @@ TI_BIN_UNPK_CMDS = "Y:workdir"
 
 S = "${CODEC_SUITE_NAME}"
 
-DEPENDS = "ti-cgt6x ti-xdctools ti-dspbios ti-codec-engine ti-linuxutils"
+DEPENDS = "ti-cgt6x ti-xdctools-native ti-dspbios ti-codec-engine ti-linuxutils"
 
 #generic codec
 DSPSUFFIX_omap3530 = "x64P"
recipes-ti/devtools/ti-xdctools_3.50.03.33.bb +4 -0
index 73ab3bdf..6ab2b94a 100644
@@ -7,3 +7,7 @@ LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;beginline=1;endli
 
 SRC_URI[xdczip.md5sum] = "21310b647275a7c7dd5b37dcb96c0b1b"
 SRC_URI[xdczip.sha256sum] = "afe8616773e63b01e79e8cfacaf4d2c8d3b92c798c7f8cf5d1c7b5fe2060bbe4"
+
+FILES_${PN} += "${XDC_INSTALL_DIR_RECIPE}"
+
+BBCLASSEXTEND = "native nativesdk"
recipes-ti/dmai/ti-dmai.inc +1 -1
index f81b4cff..50621184 100644
@@ -29,7 +29,7 @@ SRC_URI = "svn://gforge.ti.com/svn/dmai/;module=${DMAIBRANCH};protocol=https;use
         file://arago-tdox \
 	"
 
-DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec-engine ti-xdctools"
+DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec-engine ti-xdctools-native"
 
 DEPENDS_append_dm6446 	= " ti-codecs-dm6446   ti-dspbios ti-cgt6x ti-linuxutils"
 DEPENDS_append_dm6467 	= " ti-codecs-dm6467   ti-dspbios ti-cgt6x ti-linuxutils"
recipes-ti/dsplink/ti-dsplink.inc +1 -1
index 78b53cf0..e0096155 100644
@@ -30,7 +30,7 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/${PV_DL_PATH}/dsplink_l
            file://ti-dsplink-examples-loadmodules.sh \
            file://ti-dsplink-examples-unloadmodules.sh "
 
-DEPENDS = "ti-dspbios ti-xdctools ti-cgt6x" 
+DEPENDS = "ti-dspbios ti-xdctools-native ti-cgt6x"
 DEPENDS += "virtual/kernel perl-native" 
 
 # SOC_FAMILY configuration
recipes-ti/includes/ti-paths.inc +1 -1
index ebd4b8a5..3745ec07 100644
@@ -88,7 +88,7 @@ export SYSBIOS_INSTALL_DIR    = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECI
 export SYSLINK_INSTALL_DIR    = "${STAGING_DIR_TARGET}${SYSLINK_INSTALL_DIR_RECIPE}"
 export UIA_INSTALL_DIR        = "${STAGING_DIR_TARGET}${UIA_INSTALL_DIR_RECIPE}"
 export XDAIS_INSTALL_DIR      = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE}"
-export XDC_INSTALL_DIR        = "${STAGING_DIR_TARGET}${XDC_INSTALL_DIR_RECIPE}"
+export XDC_INSTALL_DIR        = "${STAGING_DIR_NATIVE}${XDC_INSTALL_DIR_RECIPE}"
 export PDK_INSTALL_DIR        = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}"
 export OSAL_INSTALL_DIR       = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}"
 export M4_TOOLCHAIN_INSTALL_DIR    = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
recipes-ti/ipc/ti-ipc-examples-linux_git.bb +1 -1
index 2340206c..545448c6 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running bios"
 require ti-ipc-examples.inc
 
-DEPENDS = "ti-ipc ti-xdctools ti-sysbios ti-ipc-rtos"
+DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos"
 
 do_compile_append() {
 
recipes-ti/ipc/ti-ipc-examples_git.bb +1 -1
index 5482ce41..36df294e 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running linux"
 require ti-ipc-examples.inc
 
-DEPENDS = "ti-xdctools ti-sysbios ti-ipc-rtos"
+DEPENDS = "ti-xdctools-native ti-sysbios ti-ipc-rtos"
 
 do_compile_append() {
 
recipes-ti/ipc/ti-ipc-rtos_git.bb +1 -1
index f4eefa85..4040c4d9 100644
@@ -2,7 +2,7 @@ require ti-ipc.inc
 require ti-ipc-common.inc
 require ti-ipc-rtos.inc
 
-DEPENDS = "ti-xdctools ti-sysbios doxygen-native zip-native"
+DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native"
 
 PACKAGES =+ "${PN}-fw"
 FILES_${PN}-fw = "${base_libdir}/firmware/*"
recipes-ti/local-power-manager/ti-local-power-manager.inc +1 -1
index 2f2b5256..0e5d4f29 100644
@@ -21,7 +21,7 @@ S = "${WORKDIR}/local_power_manager_linux_${PV}"
 
 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/lpm/${PV}/exports/local_power_manager_linux_${PV}.tar.gz;name=lpmtarball"
 
-DEPENDS = "ti-dsplink ti-xdctools"
+DEPENDS = "ti-dsplink ti-xdctools-native"
 DEPENDS += "virtual/kernel"
 
 # SOC_FAMILY configuration
recipes-ti/openmp-rtos/openmp-rtos_git.bb +1 -1
index f5bf4765..97474651 100644
@@ -19,7 +19,7 @@ SRCREV = "a2a518dcc9154a372b38bd5be8a483359123823c"
 
 LIC_FILES_CHKSUM = "file://docs/license/omp_manifest_template.html;md5=61a6972303c0447b7c056195d7ebafee"
 
-DEPENDS = "common-csl-ip-rtos ti-xdctools ti-ipc-rtos ti-sysbios ti-cgt6x-native libulm zip-native"
+DEPENDS = "common-csl-ip-rtos ti-xdctools-native ti-ipc-rtos ti-sysbios ti-cgt6x-native libulm zip-native"
 DEPENDS_append_k2hk = " qmss-lld-rtos cppi-lld-rtos"
 DEPENDS_append_k2e = " qmss-lld-rtos cppi-lld-rtos"
 DEPENDS_append_k2l-evm = " qmss-lld-rtos cppi-lld-rtos"
recipes-ti/syslink/ti-syslink.inc +1 -1
index af5f896a..5ff6af7c 100644
@@ -31,7 +31,7 @@ SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/sy
            file://syslink.pc \
           "
 
-DEPENDS = "ti-sysbios ti-xdctools ti-cgt6x ti-ipc ti-cgt470"
+DEPENDS = "ti-sysbios ti-xdctools-native ti-cgt6x ti-ipc ti-cgt470"
 DEPENDS += "virtual/kernel" 
 
 #common frameq gateMP heapBufMP heapMemMP knlNotify listMP messageQ notify ringIO ringIO_gpp sharedRegion slaveLoader tilerDaemon
Signature · 1 line
2.14.3
#4 lore raw
Quoted 5 lines · Denys Dmytriyenko

Thanks! Can you please detail the changes between v1 and v2 of the patch? We
are still investigating v1 of the patch and how it affects our releases...

Sorry, just rebased and took the opertunity to add the branch specifier (morty) to the patch subject since I forgot it the first time. There are no functional changes.

I have cherry-picked this to master and it applies with some merge conflicts. AFAIK it should work there, but I don't currently have a sufficent setup to test on that branch. I can try to get one if you want.

Thank you for looking at it,
Joshua Watt

#5 lore raw
Quoted 9 lines · Joshua Watt
Quoted 4 lines · Denys Dmytriyenko

Thanks! Can you please detail the changes between v1 and v2 of the patch? We
are still investigating v1 of the patch and how it affects our releases...

Sorry, just rebased and took the opertunity to add the branch specifier (morty) to the patch subject since I forgot it the first time. There are no functional changes.

Thanks, have you tried building anything with this change?

Right off the bat it breaks ipumm-fw, as it expects xdctools to reside in the same sysroot as BIOS, which is the target one. Fixing it.

Also, I'm making corresponding changes in meta-arago, which uses xdctools as well. Hopefully there's not much breakage there...

Signature · 1 line
Denys
#6 lore raw
Quoted 14 lines · Denys Dmytriyenko
Quoted 7 lines · Joshua Watt
Quoted 5 lines · Denys Dmytriyenko

Thanks! Can you please detail the changes between v1 and v2 of the
patch? We
are still investigating v1 of the patch and how it affects our releases...

Quoted 5 lines

Sorry, just rebased and took the opertunity to add the branch specifier
(morty) to the patch subject since I forgot it the first time. There
are no functional changes.

Quoted 5 lines

Thanks, have you tried building anything with this change?

Right off the bat it breaks ipumm-fw, as it expects xdctools to reside in the
same sysroot as BIOS, which is the target one. Fixing it.

Hmm... thats odd. I'm though we were building the ipumm-fw recipe... maybe not though. We are a ways behind on the morty branch right now (which is where our patch was based originally). I'll make sure to get us up to the HEAD and try it on Monday.

Quoted 5 lines

Also, I'm making corresponding changes in meta-arago, which uses xdctools as
well. Hopefully there's not much breakage there...

We don't use much of meta-arago (our distro is poky based), but we do "cherry-pick" most of the non-qt based recipes through a rather ugly process from meta-arago-extra (I don't know if they all build though). On a side note, optional Qt support in meta-arago would be *greatly* appreciated :)

Thanks,
Joshua Watt

#7 lore raw
Quoted 12 lines · Joshua Watt
Quoted 5 lines · Denys Dmytriyenko

Thanks, have you tried building anything with this change?

Right off the bat it breaks ipumm-fw, as it expects xdctools to reside in the
same sysroot as BIOS, which is the target one. Fixing it.

Hmm... thats odd. I'm though we were building the ipumm-fw recipe... maybe not though. We are a ways behind on the morty branch right now (which is where our patch was based originally). I'll make sure to get us up to the HEAD and try it on Monday.

Quoted 7 lines
Quoted 3 lines

Also, I'm making corresponding changes in meta-arago, which uses xdctools as
well. Hopefully there's not much breakage there...

We don't use much of meta-arago (our distro is poky based), but we do "cherry-pick" most of the non-qt based recipes through a rather ugly process from meta-arago-extra (I don't know if they all build though).

Latest patches for meta-ti and meta-arago were posted to resolve discussed above issues.

Quoted 2 lines

On a side note, optional Qt support in meta-arago would be *greatly* appreciated :)

Can you be more specific? Do you have an exact components from meta-arago that you want to build w/o Qt?

On the other hand, we only officially support Wayland on our platforms, not X11. Thus there are some specific graphics requirements involved - if you are trying to build something graphical, it will pull in Qt dependencies...

Signature · 1 line
Denys
#8 lore raw
Quoted 27 lines · Denys Dmytriyenko
Quoted 19 lines · Joshua Watt
Quoted 5 lines · Denys Dmytriyenko

Thanks, have you tried building anything with this change?

Right off the bat it breaks ipumm-fw, as it expects xdctools to reside in the
same sysroot as BIOS, which is the target one. Fixing it.

Hmm... thats odd. I'm though we were building the ipumm-fw recipe...
maybe not though. We are a ways behind on the morty branch right now
(which is where our patch was based originally). I'll make sure to get
us up to the HEAD and try it on Monday.

Quoted 3 lines

Also, I'm making corresponding changes in meta-arago, which uses xdctools as
well. Hopefully there's not much breakage there...

Quoted 6 lines

We don't use much of meta-arago (our distro is poky based), but we do
"cherry-pick" most of the non-qt based recipes through a rather ugly
process from meta-arago-extra (I don't know if they all build though).

Quoted 3 lines

Latest patches for meta-ti and meta-arago were posted to resolve discussed
above issues.

Thanks, we'll give it a try

Quoted 10 lines
Quoted 5 lines

On a side note, optional Qt support in meta-arago would be *greatly*
appreciated :)

Can you be more specific? Do you have an exact components from meta- arago
that you want to build w/o Qt?

Quoted 6 lines

On the other hand, we only officially support Wayland on our platforms, not
X11. Thus there are some specific graphics requirements involved - if you are
trying to build something graphical, it will pull in Qt dependencies...

We are running Wayland (although it is our own custom compositor), so thats not really the issue. I don't think we have any expectations to be able to *build* recipes that depends on Qt. The problem we run into is that we can't include meta-arago at all because it depends on classes and such from meta-qt, which we aren't including. This prevents the recipes from even parsing. This isn't a problem unique to meta- arago, but meta-arago is the first one that have had to work around in such an annoying fashion.

I think the main offender is qmake5.bbclass, but there might be others. I don't really know of a good way to make these recipes parse when Qt isn't present... the best I can think of off the top of my head would be something like:

inherit ${@bb.utils.contains('DISTRO_FEATURES', 'qt5', 'qmake5', '')}

I guess the other option would be to move stuff to meta-ti from meta- arago? I don't know what qualifies something to be in one or the other.

I'm more than willing to put some patches together if you have any thoughts.

Thanks,
Joshua Watt