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:35:58 +0000
commita9af0ee48b745a38e70a57faae7cefaf75ae58b6 (patch)
tree9f914f53d0ef9987bd46b4b34c959af409ad408c
parent3f953883f3270863ca505b2fe274d56ad70fbdcd (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.3.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.3.bb b/recipes-kernel/linux/linux-toradex-mainline_5.3.bb
index adacc2a..02cf669 100644
--- a/recipes-kernel/linux/linux-toradex-mainline_5.3.bb
+++ b/recipes-kernel/linux/linux-toradex-mainline_5.3.bb
@@ -1,6 +1,7 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.2:"
LINUX_VERSION ?= "5.3.2"
+PV = "${LINUX_VERSION}+git${SRCPV}"
SRCREV_machine = "1ec6cce5d96a6faad11f0f6c4c5bd36c69c7a3d7"