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>
inherit fsl-u-boot-localversion
-LOCALVERSION = "+imx"
+LOCALVERSION ?= "-${SRCBRANCH}"
do_compile_prepend() {
if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then
inherit fsl-u-boot-localversion
-LOCALVERSION = "+imx"
+LOCALVERSION ?= "-${SRCBRANCH}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(mx6)"
SRC_URI = "git://git.freescale.com/layerscape/ls1021a/u-boot.git;branch=${SRCBRANCH}"
SRCREV = "50d684801cd05ed6b77d52d1ca9ed00fefeac469"
+LOCALVERSION ?= "-${SRCBRANCH}"
+
S = "${WORKDIR}/git"
require u-boot-ls1.inc
inherit fsl-u-boot-localversion
-LOCALVERSION ?= "+ls1"
+LOCALVERSION ?= "-SDK-V1.3"
DEPENDS += "u-boot-ls1-tools-native"
PROVIDES += "u-boot"