diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-09 15:04:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-09 16:47:18 +0100 |
commit | 8fb81f538c80735d32db86a20e7f46b3902b4e75 (patch) | |
tree | 95770a95ecd20bcc2ba160b107ca11917b4d1190 /meta | |
parent | 4dbc340c63a86879fa727908cfb502f299f5d21b (diff) | |
download | openembedded-core-8fb81f538c80735d32db86a20e7f46b3902b4e75.tar.gz openembedded-core-8fb81f538c80735d32db86a20e7f46b3902b4e75.tar.bz2 openembedded-core-8fb81f538c80735d32db86a20e7f46b3902b4e75.zip |
sqlite3: Ensure nativesdk package extension is handled correctly
This avoids the warning:
NOTE: multiple providers are available for runtime libsqlite3-dev (sqlite3, sqlite3-nativesdk)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libsqlite3-dev
until such times as we convert nativesdk to use a prefix like multilib.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/sqlite/sqlite3.inc | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index c96c6a6027..2a52a44175 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc @@ -17,12 +17,15 @@ export config_TARGET_LINK = "${CCLD}" export config_TARGET_CFLAGS = "${CFLAGS}" export config_TARGET_LFLAGS = "${LDFLAGS}" -PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN} ${PN}-dbg" +PKGSUFFIX = "" +PKGSUFFIX_virtclass-nativesdk = "-nativesdk" + +PACKAGES = "lib${BPN}${PKGSUFFIX} lib${BPN}${PKGSUFFIX}-dev lib${BPN}${PKGSUFFIX}-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${BPN}-doc = "${docdir} ${mandir} ${infodir}" -AUTO_LIBNAME_PKGS = "lib${BPN}" +FILES_lib${BPN}${PKGSUFFIX} = "${libdir}/*.so.*" +FILES_lib${BPN}${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \ + ${libdir}/pkgconfig ${includedir}" +FILES_lib${BPN}${PKGSUFFIX}-doc = "${docdir} ${mandir} ${infodir}" +AUTO_LIBNAME_PKGS = "lib${BPN}${PKGSUFFIX}" BBCLASSEXTEND = "native nativesdk" |