meta-oe: use BPN in SRC_URI

Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Robert Yang
2014-07-02 19:25:58 -07:00
committed by Martin Jansa
parent 621de68d62
commit 05de0ca43d
56 changed files with 56 additions and 56 deletions
@@ -6,7 +6,7 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
DEPENDS = "curl gtk+ libglade sqlite3 libexif gpsd bluez4"
SRC_URI = "http://www.foxtrotgps.org/releases/${P}.tar.gz"
SRC_URI = "http://www.foxtrotgps.org/releases/${BP}.tar.gz"
SRC_URI[md5sum] = "6777d448ee9d3ba195f9d26ea90e3163"
SRC_URI[sha256sum] = "ae9706285510554cc0813ac92522e0d1672b0ddb065307bfacfcff3c328f6adb"
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=b9bd75ae5af7ff87ab259be0121c4106"
DEPENDS = "proj sqlite3 tiff"
SRC_URI = "ftp://download.osgeo.org/gdal/${PV}/${P}.tar.xz"
SRC_URI = "ftp://download.osgeo.org/gdal/${PV}/${BP}.tar.xz"
SRC_URI[md5sum] = "f354c614aea76e5630e4edbf06e5c292"
SRC_URI[sha256sum] = "e6c9c6c4480228c943af29120d87435ddfe9ca460458bc60b91639fb8d443791"
+1 -1
View File
@@ -9,7 +9,7 @@ EXTRANATIVEPATH += "chrpath-native"
PR = "r14"
SRC_URI = "${SAVANNAH_GNU_MIRROR}/${PN}/${P}.tar.gz \
SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \
file://0004-SConstruct-remove-rpath.patch \
file://0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch \