summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-08-18 14:53:02 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-19 09:05:53 -0700
commit2768b3b26d392d988d392c80e52e1f5e9da23c5c (patch)
tree316925c5c14421d0d0b573398c0a8d093a518db4
parent618de3f788a22127def8244c0d6ebd3608ed5577 (diff)
downloadopenembedded-core-2768b3b26d392d988d392c80e52e1f5e9da23c5c.tar.gz
openembedded-core-2768b3b26d392d988d392c80e52e1f5e9da23c5c.tar.bz2
openembedded-core-2768b3b26d392d988d392c80e52e1f5e9da23c5c.zip
ea-acl: Use BPN instead of PN for style like lib${PN}
When supporting multilib, ${PN} will be extended with MLPREFIX. However if a package name contains ${PN} with styles like lib${PN}, such extension will cause error. Use BPN in this case. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
-rw-r--r--meta/recipes-support/attr/ea-acl.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
index 4e794214f4..2ef138957e 100644
--- a/meta/recipes-support/attr/ea-acl.inc
+++ b/meta/recipes-support/attr/ea-acl.inc
@@ -18,9 +18,9 @@ do_install () {
PACKAGES =+ "lib${BPN} lib${BPN}-dev lib${BPN}-doc"
-FILES_lib${PN} = "${base_libdir}/lib*.so.*"
+FILES_lib${BPN} = "${base_libdir}/lib*.so.*"
-FILES_lib${PN}-dev = "${includedir} \
+FILES_lib${BPN}-dev = "${includedir} \
${libdir}/lib*.so \
${libdir}/lib*.a \
${libdir}/lib*.la \
@@ -28,7 +28,7 @@ FILES_lib${PN}-dev = "${includedir} \
${base_libdir}/lib*.a \
${base_libdir}/lib*.la"
-FILES_lib${PN}-doc = "${mandir}/man2 \
+FILES_lib${BPN}-doc = "${mandir}/man2 \
${mandir}/man3"
BBCLASSEXTEND = "native"