* The emac-lld also contains sources for the prueth-fw on am65xx.

Signed-off-by: Jacob Stiffler <j-stiff...@ti.com>
---
v3 changes:
* Drop FW version as the tag version will be embedded in the firmware
  binary.

 recipes-bsp/emac-lld/emac-lld-rtos_git.bb | 18 ++++--------------
 recipes-bsp/emac-lld/emac-lld.inc         | 14 ++++++++++++++
 2 files changed, 18 insertions(+), 14 deletions(-)
 create mode 100644 recipes-bsp/emac-lld/emac-lld.inc

diff --git a/recipes-bsp/emac-lld/emac-lld-rtos_git.bb 
b/recipes-bsp/emac-lld/emac-lld-rtos_git.bb
index 1232482..2af38b9 100644
--- a/recipes-bsp/emac-lld/emac-lld-rtos_git.bb
+++ b/recipes-bsp/emac-lld/emac-lld-rtos_git.bb
@@ -2,26 +2,16 @@ SUMMARY = "TI RTOS low level driver for Ethernet MAC (EMAC) 
peripheral"
 
 inherit ti-pdk
 
+require emac-lld.inc
+
+PR = "r0"
+
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://emacver.h;beginline=1;endline=47;md5=f66bb3695972ca2a85d990a390f45d88"
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|omapl1|c665x-evm|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-EMAC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/emac-lld.git"
-EMAC_LLD_GIT_PROTOCOL = "git"
-EMAC_LLD_GIT_BRANCH = "master"
-
-# Below commit ID corresponds to "DEV.EMAC_LLD.01.00.03.16"
-EMAC_LLD_SRCREV = "f90f832dc63b60b234c3f5ae2ff4d774728e83bf"
-
-BRANCH ="${EMAC_LLD_GIT_BRANCH}"
-SRC_URI = 
"${EMAC_LLD_GIT_URI};protocol=${EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
-
-SRCREV = "${EMAC_LLD_SRCREV}"
-PV = "01.00.03.16"
-PR = "r0"
-
 DEPENDS_append = " board-rtos osal-rtos"
 DEPENDS_append_ti33x = " starterware-rtos"
 DEPENDS_append_ti43x = " starterware-rtos"
diff --git a/recipes-bsp/emac-lld/emac-lld.inc 
b/recipes-bsp/emac-lld/emac-lld.inc
new file mode 100644
index 0000000..5fd24bc
--- /dev/null
+++ b/recipes-bsp/emac-lld/emac-lld.inc
@@ -0,0 +1,14 @@
+EMAC_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/emac-lld.git"
+EMAC_LLD_GIT_PROTOCOL = "git"
+EMAC_LLD_GIT_BRANCH = "master"
+
+# Below commit ID corresponds to "DEV.EMAC_LLD.01.00.03.16"
+EMAC_LLD_SRCREV = "f90f832dc63b60b234c3f5ae2ff4d774728e83bf"
+
+BRANCH ="${EMAC_LLD_GIT_BRANCH}"
+SRC_URI = 
"${EMAC_LLD_GIT_URI};protocol=${EMAC_LLD_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${EMAC_LLD_SRCREV}"
+
+# The LLD version
+PV = "01.00.03.16+git${SRCPV}"
-- 
2.7.4

-- 
_______________________________________________
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to