summaryrefslogtreecommitdiff
path: root/meta/recipes-support/sqlite
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-08-03 23:19:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-03 18:06:04 +0100
commitfbb734e5753655de30c82c0a036c9043820e02cb (patch)
tree75b05b7c3ce3c07751ca4625d5853ba084b92734 /meta/recipes-support/sqlite
parent3f7809ba54bc4941c42071728cee1b286c1e87f6 (diff)
downloadopenembedded-core-fbb734e5753655de30c82c0a036c9043820e02cb.tar.gz
openembedded-core-fbb734e5753655de30c82c0a036c9043820e02cb.tar.bz2
openembedded-core-fbb734e5753655de30c82c0a036c9043820e02cb.tar.xz
openembedded-core-fbb734e5753655de30c82c0a036c9043820e02cb.zip
multilib: 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/sqlite')
-rw-r--r--meta/recipes-support/sqlite/sqlite3.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
index a5d122dc8..c96c6a602 100644
--- a/meta/recipes-support/sqlite/sqlite3.inc
+++ b/meta/recipes-support/sqlite/sqlite3.inc
@@ -17,12 +17,12 @@ export config_TARGET_LINK = "${CCLD}"
export config_TARGET_CFLAGS = "${CFLAGS}"
export config_TARGET_LFLAGS = "${LDFLAGS}"
-PACKAGES = "lib${PN} lib${PN}-dev lib${PN}-doc ${PN} ${PN}-dbg"
+PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN} ${PN}-dbg"
FILES_${PN} = "${bindir}/*"
FILES_lib${PN} = "${libdir}/*.so.*"
FILES_lib${PN}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \
${libdir}/pkgconfig ${includedir}"
-FILES_lib${PN}-doc = "${docdir} ${mandir} ${infodir}"
-AUTO_LIBNAME_PKGS = "lib${PN}"
+FILES_lib${BPN}-doc = "${docdir} ${mandir} ${infodir}"
+AUTO_LIBNAME_PKGS = "lib${BPN}"
BBCLASSEXTEND = "native nativesdk"