diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-09-12 01:32:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-14 22:22:07 +0100 |
commit | b8e2bab119be251e3a3395dc55cf25b32504272c (patch) | |
tree | 112b9935eee0cf29390d04aec0b6b9938f15be5b /meta/recipes-support/boost | |
parent | 32b82672033013ad89b931aa1235415db699415e (diff) | |
download | poky-b8e2bab119be251e3a3395dc55cf25b32504272c.tar.gz |
meta: cleanup d.getVar(var, 1)
(From OE-Core rev: 79fe476be233015c1c90e9c3fb4572267b5551d1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/boost')
-rw-r--r-- | meta/recipes-support/boost/boost-1.61.0.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/boost/boost-1.61.0.inc b/meta/recipes-support/boost/boost-1.61.0.inc index 4553677b26..cd9d8a4950 100644 --- a/meta/recipes-support/boost/boost-1.61.0.inc +++ b/meta/recipes-support/boost/boost-1.61.0.inc | |||
@@ -7,8 +7,8 @@ HOMEPAGE = "http://www.boost.org/" | |||
7 | LICENSE = "BSL-1.0 & MIT & Python-2.0" | 7 | LICENSE = "BSL-1.0 & MIT & Python-2.0" |
8 | LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c" | 8 | LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c" |
9 | 9 | ||
10 | BOOST_VER = "${@"_".join(d.getVar("PV",1).split("."))}" | 10 | BOOST_VER = "${@"_".join(d.getVar("PV", True).split("."))}" |
11 | BOOST_MAJ = "${@"_".join(d.getVar("PV",1).split(".")[0:2])}" | 11 | BOOST_MAJ = "${@"_".join(d.getVar("PV", True).split(".")[0:2])}" |
12 | BOOST_P = "boost_${BOOST_VER}" | 12 | BOOST_P = "boost_${BOOST_VER}" |
13 | 13 | ||
14 | SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2" | 14 | SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2" |