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.

(From OE-Core rev: 2768b3b26d392d988d392c80e52e1f5e9da23c5c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Dongxiao Xu 2011-08-18 14:53:02 +08:00 committed by Richard Purdie
parent 90d20d0d63
commit 3b387d7b63
1 changed files with 3 additions and 3 deletions

View File

@ -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"