Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C4840E0086F; Thu, 20 Nov 2014 11:18:17 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (daiane.list[at]gmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.216.172 listed in list.dnswl.org] Received: from mail-qc0-f172.google.com (mail-qc0-f172.google.com [209.85.216.172]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 74CC1E0086F for ; Thu, 20 Nov 2014 11:18:11 -0800 (PST) Received: by mail-qc0-f172.google.com with SMTP id m20so2692769qcx.3 for ; Thu, 20 Nov 2014 11:18:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=4lJFLal8gqEmmeEu4n97ZfiBFJfsDFQ5vp3ui1yHjxo=; b=SQVSPjA30IXiusgJgev13F8OzS9xbHsZMi1yAshnOiPflh/FKFyqlozDgB7P5L3YE1 iWZiWZqxKOgOfdQeKcWOUXXz7nu2OKOHImTLao/XjIxJIZujvWC55x9nscLJehs84Ci0 VRrEcu+MTWaKGFWLNOKno6LDB01BnSgQyUqwuBC5dtqhvirySU+uN3DNQZB4uknjkI0/ uH2p3qtpM/6KXSj6ii00JBtuTh89xV4TDsgh3MpGT/IUuN7V3z3FlHn/0nPSjHP6U069 z3CRRH/Kkl76rTVdpdQ9HejYU8FnE81j57xg89HpPtGg/hrTr3OVgZEXc3d1bT/LF2Lb zAxw== X-Received: by 10.224.89.9 with SMTP id c9mr45274qam.48.1416511090976; Thu, 20 Nov 2014 11:18:10 -0800 (PST) Received: from localhost.localdomain ([201.74.247.10]) by mx.google.com with ESMTPSA id u8sm2721443qat.27.2014.11.20.11.18.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Nov 2014 11:18:10 -0800 (PST) From: Daiane Angolini To: meta-freescale@yoctoproject.org Date: Thu, 20 Nov 2014 17:17:57 -0200 Message-Id: <1416511080-12343-1-git-send-email-daiane.list@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [meta-fsl-arm][PATCH 1/2] u-boot-*: Rework LOCALVERSION depending on SRCBRANCH X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 19:18:17 -0000 From: Daiane Angolini 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 --- recipes-bsp/u-boot/u-boot-imx_2009.08.bb | 2 +- recipes-bsp/u-boot/u-boot-imx_2014.04.bb | 2 +- recipes-bsp/u-boot/u-boot-ls1.inc | 2 ++ recipes-bsp/u-boot/u-boot-ls1_2013.10.bb | 2 +- 4 files changed, 5 insertions(+), 3 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' 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 diff --git a/recipes-bsp/u-boot/u-boot-imx_2014.04.bb b/recipes-bsp/u-boot/u-boot-imx_2014.04.bb index 0c9c143..bb48044 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2014.04.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2014.04.bb @@ -16,7 +16,7 @@ S = "${WORKDIR}/git" inherit fsl-u-boot-localversion -LOCALVERSION = "+imx" +LOCALVERSION ?= "-${SRCBRANCH}" PACKAGE_ARCH = "${MACHINE_ARCH}" COMPATIBLE_MACHINE = "(mx6)" diff --git a/recipes-bsp/u-boot/u-boot-ls1.inc b/recipes-bsp/u-boot/u-boot-ls1.inc index 371773f..9e10ea5 100644 --- a/recipes-bsp/u-boot/u-boot-ls1.inc +++ b/recipes-bsp/u-boot/u-boot-ls1.inc @@ -12,4 +12,6 @@ SRCBRANCH = "LS1-dev" SRC_URI = "git://git.freescale.com/layerscape/ls1021a/u-boot.git;branch=${SRCBRANCH}" SRCREV = "50d684801cd05ed6b77d52d1ca9ed00fefeac469" +LOCALVERSION ?= "-${SRCBRANCH}" + S = "${WORKDIR}/git" diff --git a/recipes-bsp/u-boot/u-boot-ls1_2013.10.bb b/recipes-bsp/u-boot/u-boot-ls1_2013.10.bb index f50c144..06f6d2f 100644 --- a/recipes-bsp/u-boot/u-boot-ls1_2013.10.bb +++ b/recipes-bsp/u-boot/u-boot-ls1_2013.10.bb @@ -2,7 +2,7 @@ require recipes-bsp/u-boot/u-boot.inc 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" -- 1.9.1