aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/bdwgc
diff options
context:
space:
mode:
authorBogdan Marinescu <bogdan.a.marinescu@intel.com>2013-06-04 09:52:20 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-04 15:53:47 +0100
commit662b485e155257695ac7cc47f4cd26ddf94720ba (patch)
treea5274bbd62f0c5151e18b4d9259a0fe22a36f060 /meta/recipes-support/bdwgc
parent6866fd80ec59ef1e2d24263827237be8ff21584f (diff)
downloadopenembedded-core-contrib-662b485e155257695ac7cc47f4cd26ddf94720ba.tar.gz
bdwgc: enable full version name in recipe name
bdwgc has version names that may or may not contain a revision (for example 7.2d or simply 7.2). The current recipe specifies the revision as a separate variable, which confuses the automatic version checker. This patch enables using the full version name as part of the recipe name. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/bdwgc')
-rw-r--r--meta/recipes-support/bdwgc/bdwgc_7.2d.bb (renamed from meta/recipes-support/bdwgc/bdwgc_7.2.bb)9
1 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-support/bdwgc/bdwgc_7.2.bb b/meta/recipes-support/bdwgc/bdwgc_7.2d.bb
index a0a5bffba9..46e5257671 100644
--- a/meta/recipes-support/bdwgc/bdwgc_7.2.bb
+++ b/meta/recipes-support/bdwgc/bdwgc_7.2d.bb
@@ -23,17 +23,14 @@ LIC_FILES_CHKSUM = "file://README.QUICK;md5=9b9dd874f6940641b6ab19893ee8f1cc \
file://doc/README;md5=92e7dd0334d1f672b699cd0aca08bef0 \
file://libatomic_ops/doc/LICENSING.txt;md5=607073e04548eac7d1f763e480477bab"
-REVISION = "d"
-
-SRC_URI = "http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${PV}${REVISION}.tar.gz"
+SRC_URI = "http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${PV}.tar.gz"
SRC_URI[md5sum] = "91340b28c61753a789eb6077675d87d2"
SRC_URI[sha256sum] = "d9fe0ae8650d43746a48bfb394cab01a319f3809cee19f8ebd16aa985b511c5e"
FILES_${PN}-doc = "/usr/share"
-PR = "r0"
-
-S = "${WORKDIR}/gc-${PV}"
+REAL_PV = "${@[d.getVar('PV',1)[:-1], d.getVar('PV',1)][(d.getVar('PV',1)[-1]).isdigit()]}"
+S = "${WORKDIR}/gc-${REAL_PV}"
ARM_INSTRUCTION_SET = "arm"