[meta-ti] [master/thud][PATCH 24/42] pru: migrate to ti-pdk-fetch.bbclass
Jacob Stiffler
j-stiffler at ti.com
Fri Nov 15 07:14:44 PST 2019
Signed-off-by: Jacob Stiffler <j-stiffler at ti.com>
---
recipes-bsp/pru/pru-pwm-fw_git.bb | 11 +++++------
recipes-bsp/pru/pru-swuart-fw_git.bb | 12 ++++++------
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/recipes-bsp/pru/pru-pwm-fw_git.bb b/recipes-bsp/pru/pru-pwm-fw_git.bb
index 0fe7987..a8c7103 100644
--- a/recipes-bsp/pru/pru-pwm-fw_git.bb
+++ b/recipes-bsp/pru/pru-pwm-fw_git.bb
@@ -8,17 +8,16 @@ require recipes-ti/includes/ti-paths.inc
COMPATIBLE_MACHINE = "am65xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.15B"
-SRCREV = "989f802266d52f50a6db8f2be6967eacd9d2b409"
-PV = "01.00.00.15B"
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/keystone-rtos/pruss-lld.git;protocol=git;branch=${BRANCH}"
+inherit ti-pdk-fetch
+
+TI_PDK_COMP = "ti.drv.pruss.example.apps.icssg_pwm.firmware.src"
+
+PE = "1"
DEPENDS = "ti-cgt-pru-native pru-icss common-csl-ip-rtos"
-S = "${WORKDIR}/git/example/apps/icssg_pwm/firmware/src"
EXTRA_OEMAKE += " \
PRU_CGT="${TI_CGT_PRU_INSTALL_DIR}" \
diff --git a/recipes-bsp/pru/pru-swuart-fw_git.bb b/recipes-bsp/pru/pru-swuart-fw_git.bb
index e22b3be..1cb51f3 100644
--- a/recipes-bsp/pru/pru-swuart-fw_git.bb
+++ b/recipes-bsp/pru/pru-swuart-fw_git.bb
@@ -8,20 +8,20 @@ require recipes-ti/includes/ti-paths.inc
COMPATIBLE_MACHINE = "ti33x"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-# Below commit ID corresponds to "DEV.UART_LLD.01.00.00.15"
-SRCREV = "4493f456549c85749a05b1f46bf0b75d23976db1"
-PV = "01.00.00.15"
+inherit ti-pdk-fetch
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/keystone-rtos/uart-lld.git;protocol=git;branch=${BRANCH} \
+TI_PDK_COMP = "ti.drv.uart"
+
+PE = "1"
+
+SRC_URI_append = " \
file://0001-icss_uart-add-Makefile-for-building-firmware.patch \
file://0001-icss_uart-remove-dependency-on-PDK-CSL.patch \
"
DEPENDS = "ti-cgt-pru-native pru-icss"
-S = "${WORKDIR}/git"
export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}"
export PRU_SSP = "${STAGING_DIR_TARGET}/usr"
--
2.7.4
More information about the meta-ti
mailing list