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-10 13:33:06 +0100 |
commit | 18ec7f6091ad26d1fb46c76d300551ebb4b7380a (patch) | |
tree | 5629dfbd6ae843f2315fbd115df45a7da8a50361 /meta/recipes-support/sqlite | |
parent | 2a0f785c9eed1cb1028416b4076cc6bfea454c2d (diff) | |
download | poky-18ec7f6091ad26d1fb46c76d300551ebb4b7380a.tar.gz |
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.
(From OE-Core rev: 8fb81f538c80735d32db86a20e7f46b3902b4e75)
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 | 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}" | |||
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${BPN} lib${BPN}-dev lib${BPN}-doc ${PN} ${PN}-dbg" | 20 | PKGSUFFIX = "" |
21 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" | ||
22 | |||
23 | PACKAGES = "lib${BPN}${PKGSUFFIX} lib${BPN}${PKGSUFFIX}-dev lib${BPN}${PKGSUFFIX}-doc ${PN} ${PN}-dbg" | ||
21 | FILES_${PN} = "${bindir}/*" | 24 | FILES_${PN} = "${bindir}/*" |
22 | FILES_lib${PN} = "${libdir}/*.so.*" | 25 | FILES_lib${BPN}${PKGSUFFIX} = "${libdir}/*.so.*" |
23 | FILES_lib${PN}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \ | 26 | FILES_lib${BPN}${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \ |
24 | ${libdir}/pkgconfig ${includedir}" | 27 | ${libdir}/pkgconfig ${includedir}" |
25 | FILES_lib${BPN}-doc = "${docdir} ${mandir} ${infodir}" | 28 | FILES_lib${BPN}${PKGSUFFIX}-doc = "${docdir} ${mandir} ${infodir}" |
26 | AUTO_LIBNAME_PKGS = "lib${BPN}" | 29 | AUTO_LIBNAME_PKGS = "lib${BPN}${PKGSUFFIX}" |
27 | 30 | ||
28 | BBCLASSEXTEND = "native nativesdk" | 31 | BBCLASSEXTEND = "native nativesdk" |