[oe] [meta-oe][PATCH 2/9] pm-qa: fix PN -> BPN for multilib
Yi Zhao
yi.zhao at windriver.com
Thu Jun 11 09:16:49 UTC 2015
Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
meta-oe/recipes-devtools/pm-qa/pm-qa_git.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta-oe/recipes-devtools/pm-qa/pm-qa_git.bb b/meta-oe/recipes-devtools/pm-qa/pm-qa_git.bb
index 66804dd..7322df8 100644
--- a/meta-oe/recipes-devtools/pm-qa/pm-qa_git.bb
+++ b/meta-oe/recipes-devtools/pm-qa/pm-qa_git.bb
@@ -28,7 +28,7 @@ do_compile () {
do_install () {
install -d ${D}${bindir}
- install -d ${D}${libdir}/${PN}
+ install -d ${D}${libdir}/${BPN}
# Install the compiled binaries that were built in the previous step
for x in `find . -name "*.c"`
@@ -45,7 +45,7 @@ do_install () {
sed -i -e 's#..\/utils\/##' ${script}
script_basename=`basename ${script}`
- install -m 0755 $script ${D}${libdir}/${PN}/${script_basename}
+ install -m 0755 $script ${D}${libdir}/${BPN}/${script_basename}
done
# Install the shell scripts NOT in the $libdir directory since those
@@ -55,7 +55,7 @@ do_install () {
# if the script includes any helper scripts from the $libdir
# directory then change the source path to the absolute path
# to reflect the install location of the helper scripts.
- sed -i -e "s#source ../include#source ${libdir}/${PN}#g" ${script}
+ sed -i -e "s#source ../include#source ${libdir}/${BPN}#g" ${script}
# Remove hardcoded relative paths
sed -i -e 's#..\/utils\/##' ${script}
--
1.7.9.5
More information about the Openembedded-devel
mailing list