meta-networking: 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:57 -07:00 committed by Martin Jansa
parent 57b25e5aeb
commit fb71368dfa

View File

@ -17,7 +17,7 @@ inherit autotools
DEPENDS += "libevent"
RDEPENDS_${PN} += "perl perl-module-posix perl-module-autoloader perl-module-tie-hash"
SRC_URI = "http://www.memcached.org/files/${PN}-${PV}.tar.gz"
SRC_URI = "http://www.memcached.org/files/${BP}.tar.gz"
SRC_URI[md5sum] = "46402dfbd7faadf6182283dbbd18b1a6"
SRC_URI[sha256sum] = "d9173ef6d99ba798c982ea4566cb4f0e64eb23859fdbf9926a89999d8cdc0458"