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

View File

@@ -3,7 +3,7 @@ HOMEPAGE = "http://labix.org/python-dateutil"
SECTION = "devel/python"
LICENSE = "PSF"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d82268718c68bda0b091006ec6e583c6"
SRCNAME = "${PN}"
SRCNAME = "${BPN}"
SRC_URI = "http://labix.org/download/python-dateutil/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"