summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2019-09-06 13:34:59 +0200
committerStefan Agner <stefan.agner@toradex.com>2019-10-14 20:32:45 +0000
commit4765e0f6a75cafcffa0e29fd67444484aa05e079 (patch)
treecb48a74f2f28a8dbc964600320d40f5c081701d0
parent78d71eea7dd80066067f93445a957f8396b63c6e (diff)
linux-toradex-mainline: set package version to full Linux version
Set the package version to reflect the complete Linux kernel version plus the git hash it has been built from. This could be done in the inc file only once, however, the Yocto kernel recipes set PV in the individual recipies as well. The close proximity to LINUX_VERSION also makes it obvious what PV will be. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-rt_4.19.bb3
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline_5.2.bb3
2 files changed, 4 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline-rt_4.19.bb b/recipes-kernel/linux/linux-toradex-mainline-rt_4.19.bb
index 2476dc2..779ca82 100644
--- a/recipes-kernel/linux/linux-toradex-mainline-rt_4.19.bb
+++ b/recipes-kernel/linux/linux-toradex-mainline-rt_4.19.bb
@@ -1,6 +1,7 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.19:"
LINUX_VERSION ?= "4.19.59-rt24"
+PV = "${LINUX_VERSION}+git${SRCPV}"
SRCREV_machine = "3758b8bd81966b63dc93093a323e9bdd734545fd"
diff --git a/recipes-kernel/linux/linux-toradex-mainline_5.2.bb b/recipes-kernel/linux/linux-toradex-mainline_5.2.bb
index aab78f8..84d76a6 100644
--- a/recipes-kernel/linux/linux-toradex-mainline_5.2.bb
+++ b/recipes-kernel/linux/linux-toradex-mainline_5.2.bb
@@ -1,6 +1,7 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.2:"
LINUX_VERSION ?= "5.2.7"
+PV = "${LINUX_VERSION}+git${SRCPV}"
SRCREV_machine = "74e785ce1024471e77b6fb9da83ffd60762c8cac"