diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-08-03 23:19:36 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-03 18:07:25 +0100 |
commit | 5fbac72eb8c3cddf10876cf007aff54180c7264e (patch) | |
tree | 1323a3e9d39e5047d759ef10ee50723a2366b108 /meta/recipes-support/sqlite | |
parent | 0a4953bab4a31f5e0c029e050976b03385423f12 (diff) | |
download | poky-5fbac72eb8c3cddf10876cf007aff54180c7264e.tar.gz |
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.
(From OE-Core rev: fbb734e5753655de30c82c0a036c9043820e02cb)
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.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index a5d122dc88..c96c6a6027 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc | |||
@@ -17,12 +17,12 @@ export config_TARGET_LINK = "${CCLD}" | |||
17 | export config_TARGET_CFLAGS = "${CFLAGS}" | 17 | export config_TARGET_CFLAGS = "${CFLAGS}" |
18 | export config_TARGET_LFLAGS = "${LDFLAGS}" | 18 | export config_TARGET_LFLAGS = "${LDFLAGS}" |
19 | 19 | ||
20 | PACKAGES = "lib${PN} lib${PN}-dev lib${PN}-doc ${PN} ${PN}-dbg" | 20 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN} ${PN}-dbg" |
21 | FILES_${PN} = "${bindir}/*" | 21 | FILES_${PN} = "${bindir}/*" |
22 | FILES_lib${PN} = "${libdir}/*.so.*" | 22 | FILES_lib${PN} = "${libdir}/*.so.*" |
23 | FILES_lib${PN}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \ | 23 | FILES_lib${PN}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \ |
24 | ${libdir}/pkgconfig ${includedir}" | 24 | ${libdir}/pkgconfig ${includedir}" |
25 | FILES_lib${PN}-doc = "${docdir} ${mandir} ${infodir}" | 25 | FILES_lib${BPN}-doc = "${docdir} ${mandir} ${infodir}" |
26 | AUTO_LIBNAME_PKGS = "lib${PN}" | 26 | AUTO_LIBNAME_PKGS = "lib${BPN}" |
27 | 27 | ||
28 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |