diff options
author | Daiane Angolini <daiane.angolini@freescale.com> | 2014-11-20 17:17:57 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-11-22 12:17:04 -0200 |
commit | 104d723037de23a571ebefe2013a95c9e0ec1ea5 (patch) | |
tree | 132b910f0ef18dfc89d1cbbe9ce1c0727a420b00 /recipes-bsp/u-boot/u-boot-imx_2009.08.bb | |
parent | 141904ddf74be2c296641921993f8fa32696f06b (diff) | |
download | meta-fsl-arm-104d723037de23a571ebefe2013a95c9e0ec1ea5.tar.gz |
u-boot-*: 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 <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-imx_2009.08.bb')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-imx_2009.08.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-imx_2009.08.bb b/recipes-bsp/u-boot/u-boot-imx_2009.08.bb index c067999..5a831ec 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2009.08.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2009.08.bb | |||
@@ -56,7 +56,7 @@ EXTRA_OEMAKE += 'HOSTSTRIP=true' | |||
56 | 56 | ||
57 | inherit fsl-u-boot-localversion | 57 | inherit fsl-u-boot-localversion |
58 | 58 | ||
59 | LOCALVERSION = "+imx" | 59 | LOCALVERSION ?= "-${SRCBRANCH}" |
60 | 60 | ||
61 | do_compile_prepend() { | 61 | do_compile_prepend() { |
62 | if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then | 62 | if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then |