Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 17274E00B53; Sat, 13 May 2017 08:33:22 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [46.235.227.227 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 939CFE00AE0 for ; Sat, 13 May 2017 08:33:21 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: rperier) with ESMTPSA id F10A926027F From: Romain Perier To: Romain Perier , Trevor Woerner Date: Sat, 13 May 2017 17:33:03 +0200 Message-Id: <20170513153305.27132-4-romain.perier@collabora.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170513153305.27132-1-romain.perier@collabora.com> References: <20170513153305.27132-1-romain.perier@collabora.com> Cc: yocto@yoctoproject.org Subject: [meta-rockchip][PATCH v2 3/5] u-boot-rockchip: use a correct version X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2017 15:33:22 -0000 The version is actually not defined. Bitbake implicitly uses "git-r0" by default. This commit defines PV to the version of u-boot that is currently present of the release branch, prefixed by the sha1 of the commit. Signed-off-by: Romain Perier --- recipes-bsp/u-boot/u-boot-rockchip_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-bsp/u-boot/u-boot-rockchip_git.bb b/recipes-bsp/u-boot/u-boot-rockchip_git.bb index 2865fab..d3e3168 100644 --- a/recipes-bsp/u-boot/u-boot-rockchip_git.bb +++ b/recipes-bsp/u-boot/u-boot-rockchip_git.bb @@ -16,6 +16,7 @@ SRC_URI = " \ file://binutils-2.28-ld-fix.patch \ " SRCREV = "${AUTOREV}" +PV = "v2017.05+git${SRCPV}" S = "${WORKDIR}/git" do_compile_append () { -- 1.8.3.1