[oe-commits] Yi Zhao : pm-qa: fix PN -> BPN for multilib

git at git.openembedded.org git at git.openembedded.org
Mon Jun 15 12:16:31 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: e6640561c46589fb4b511bdd54061056a4f1bc4c
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=e6640561c46589fb4b511bdd54061056a4f1bc4c

Author: Yi Zhao <yi.zhao at windriver.com>
Date:   Thu Jun 11 16:26:55 2015 +0800

pm-qa: fix PN -> BPN for multilib

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}
 



More information about the Openembedded-commits mailing list