From 4757009745bbb0984a18b0c5179bdf9d6eed1237 Mon Sep 17 00:00:00 2001 From: Daiane Angolini Date: Thu, 20 Nov 2014 17:17:59 -0200 Subject: linux-*: Rework LOCALVERSION depending on SRCBRANCH 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 Signed-off-by: Otavio Salvador --- recipes-kernel/linux/linux-ls1.inc | 2 +- recipes-kernel/linux/linux-timesys_3.0.15.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-kernel') 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)" -- cgit v1.2.3-54-g00ecf