From 73bd1cdf74b7f020eddc143979d847eb113bb7c0 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Thu, 11 Jun 2015 16:26:55 +0800 Subject: pm-qa: fix PN -> BPN for multilib Signed-off-by: Yi Zhao --- meta-oe/recipes-devtools/pm-qa/pm-qa_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta-oe') 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 66804dd5b9..7322df8e7e 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} -- cgit v1.2.3-54-g00ecf