mozjs: fix PN -> BPN for multilib

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Yi Zhao 2015-05-08 15:42:31 +08:00 committed by Armin Kuster
parent 9b977afd65
commit 465ea45ec6

View File

@ -17,7 +17,7 @@ SRC_URI = " \
SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202"
SRC_URI[sha256sum] = "321e964fe9386785d3bf80870640f2fa1c683e32fe988eeb201b04471c172fba"
S = "${WORKDIR}/${PN}${PV}/js/src"
S = "${WORKDIR}/${BPN}${PV}/js/src"
inherit autotools pkgconfig perlnative
@ -46,7 +46,7 @@ do_configure() {
# patch.bbclass will try to apply the patches already present and fail, so clean them out
do_sourceclean() {
(
cd ${WORKDIR}/${PN}${PV}/patches
cd ${WORKDIR}/${BPN}${PV}/patches
for i in $(cat series | awk '{print $1}') ; do
rm -f $i
done