[meta-ti] [master/thud][RFC 26/42] pruss-lld: migrate to ti-pdk-fetch.bbclass
Jacob Stiffler
j-stiffler at ti.com
Thu Nov 7 09:50:21 PST 2019
Signed-off-by: Jacob Stiffler <j-stiffler at ti.com>
---
recipes-bsp/pruss-lld/pruss-lld-apps_git.bb | 2 --
recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb | 2 --
recipes-bsp/pruss-lld/pruss-lld-test_git.bb | 2 --
recipes-bsp/pruss-lld/pruss-lld.inc | 15 +++------------
recipes-bsp/pruss-lld/pruss-lld_git.bb | 2 --
5 files changed, 3 insertions(+), 20 deletions(-)
diff --git a/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb b/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
index 5867984..48eab40 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
@@ -9,8 +9,6 @@ include pruss-lld.inc
PR = "${INC_PR}.0"
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PDK_PKG_PATH=${STAGING_DATADIR}/ti/ti-pdk-tree/packages PRUSS_SRC_DIR=${S}"
diff --git a/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb b/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
index b8db20e..9ab09b6 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb
@@ -6,8 +6,6 @@ require recipes-bsp/pruss-lld/pruss-lld.inc
COMPATIBLE_MACHINE_append = "|k3"
PR = "${INC_PR}.0"
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
DEPENDS_append = " osal-rtos"
DEPENDS_append_ti33x = " starterware-rtos"
DEPENDS_append_ti43x = " starterware-rtos"
diff --git a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
index 93f1901..8007f65 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
@@ -6,8 +6,6 @@ include pruss-lld.inc
PR = "${INC_PR}.2"
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}"
DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
diff --git a/recipes-bsp/pruss-lld/pruss-lld.inc b/recipes-bsp/pruss-lld/pruss-lld.inc
index 1fd3fb7..0b24faa 100644
--- a/recipes-bsp/pruss-lld/pruss-lld.inc
+++ b/recipes-bsp/pruss-lld/pruss-lld.inc
@@ -4,18 +4,9 @@ LIC_FILES_CHKSUM = "file://pruicss.h;beginline=1;endline=31;md5=315177aa03d58bcd
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-PRUSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pruss-lld.git"
-PRUSS_LLD_GIT_PROTOCOL = "git"
-PRUSS_LLD_GIT_BRANCH = "master"
-PRUSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/pruss"
+inherit ti-pdk-fetch
+PE = "1"
-# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.15B"
-PRUSS_LLD_SRCREV = "989f802266d52f50a6db8f2be6967eacd9d2b409"
-
-BRANCH = "${PRUSS_LLD_GIT_BRANCH}"
-SRC_URI = "${PRUSS_LLD_GIT_URI};destsuffix=${PRUSS_LLD_GIT_DESTSUFFIX};protocol=${PRUSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${PRUSS_LLD_SRCREV}"
-PV = "01.00.00.15B"
INC_PR = "r0"
+TI_PDK_COMP = "ti.drv.pruss"
diff --git a/recipes-bsp/pruss-lld/pruss-lld_git.bb b/recipes-bsp/pruss-lld/pruss-lld_git.bb
index 5b0a257..f1e93cd 100644
--- a/recipes-bsp/pruss-lld/pruss-lld_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld_git.bb
@@ -6,8 +6,6 @@ include pruss-lld.inc
PR = "${INC_PR}.2"
-S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
-
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
--
2.7.4
More information about the meta-ti
mailing list