[meta-freescale] [meta-fsl-arm][PATCH 2/2] linux-*: Rework LOCALVERSION depending on SRCBRANCH
Daiane Angolini
daiane.list at gmail.com
Thu Nov 20 11:17:59 PST 2014
From: Daiane Angolini <daiane.angolini at freescale.com>
LOCALVERSION is used in FSL Community BSP Release Notes and should highlight
which are the _release version_ for that particular provider.
In addition LOCALVERSION makes it easy to track where the binary running on a
target is from.
Both reasons make LOCALVERSION a very important information.
The overall rule is that LOCALVERSION would point to SRCBRANCH, unless in a case
of explicit exception.
Signed-off-by: Daiane Angolini <daiane.angolini at freescale.com>
---
recipes-kernel/linux/linux-ls1.inc | 2 +-
recipes-kernel/linux/linux-timesys_3.0.15.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-kernel/linux/linux-ls1.inc b/recipes-kernel/linux/linux-ls1.inc
index 19614fd..72be738 100644
--- a/recipes-kernel/linux/linux-ls1.inc
+++ b/recipes-kernel/linux/linux-ls1.inc
@@ -2,7 +2,7 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
inherit kernel fsl-kernel-localversion
-LOCALVERSION ?= "+ls1"
+LOCALVERSION ?= "-${SRCBRANCH}"
SRC_URI = "git://git.freescale.com/layerscape/ls1021a/linux.git;branch=${SRCBRANCH} \
file://defconfig \
diff --git a/recipes-kernel/linux/linux-timesys_3.0.15.bb b/recipes-kernel/linux/linux-timesys_3.0.15.bb
index 24ea076..25fd9e5 100644
--- a/recipes-kernel/linux/linux-timesys_3.0.15.bb
+++ b/recipes-kernel/linux/linux-timesys_3.0.15.bb
@@ -15,6 +15,6 @@ SRC_URI_append_twr-vf65gs10 = "file://0001-mvf_fec.c-Fix-mac-address-read-to-mat
SRCBRANCH = "3.0.15_vybrid-twr"
SRCREV = "50c4c848d6b8743894cfcec166db475ef6140504"
-LOCALVERSION = "-3.0-mvf+yocto"
+LOCALVERSION ?= "-${SRCBRANCH}"
COMPATIBLE_MACHINE = "(vf60)"
--
1.9.1
More information about the meta-freescale
mailing list