diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-22 17:43:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-02 05:52:06 -0700 |
commit | ad23395cd1f6c0cbfcc6980b6071d589f9f6cde0 (patch) | |
tree | 9965e27a93c73af1ccf9cdb24c588faabc90370a /meta/recipes-support/sqlite | |
parent | 58a8a38aa294edb74dde70d70a7e5faf49444b78 (diff) | |
download | poky-ad23395cd1f6c0cbfcc6980b6071d589f9f6cde0.tar.gz |
nativesdk: Switch to using nativesdk as a prefix, not a suffix
As discussed on the mailing lists, using a suffix to package names is
hard and has lead to many recipes having to do PKGSUFFIX games. Its
looking extremely hard to scale nativesdk much further without hacking
many recipes.
By comparison, using a prefix like multilib does works much better and
doesn't involve "hacking" as many recipes. This change converts nativesdk
to use a prefix using the existing multilib infrastructure.
(From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c)
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, 6 insertions, 9 deletions
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index 79542fe3d9..0cc5d65b72 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc | |||
@@ -17,17 +17,14 @@ 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 | PKGSUFFIX = "" | 20 | PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}" |
21 | PKGSUFFIX_virtclass-nativesdk = "-nativesdk" | ||
22 | |||
23 | PACKAGES = "lib${BPN}${PKGSUFFIX} lib${BPN}${PKGSUFFIX}-dev lib${BPN}${PKGSUFFIX}-doc ${PN}-dbg lib${BPN}${PKGSUFFIX}-staticdev ${PN}" | ||
24 | 21 | ||
25 | FILES_${PN} = "${bindir}/*" | 22 | FILES_${PN} = "${bindir}/*" |
26 | FILES_lib${BPN}${PKGSUFFIX} = "${libdir}/*.so.*" | 23 | FILES_lib${BPN} = "${libdir}/*.so.*" |
27 | FILES_lib${BPN}${PKGSUFFIX}-dev = "${libdir}/*.la ${libdir}/*.so \ | 24 | FILES_lib${BPN}-dev = "${libdir}/*.la ${libdir}/*.so \ |
28 | ${libdir}/pkgconfig ${includedir}" | 25 | ${libdir}/pkgconfig ${includedir}" |
29 | FILES_lib${BPN}${PKGSUFFIX}-doc = "${docdir} ${mandir} ${infodir}" | 26 | FILES_lib${BPN}-doc = "${docdir} ${mandir} ${infodir}" |
30 | FILES_lib${BPN}${PKGSUFFIX}-staticdev = "${libdir}/lib*.a" | 27 | FILES_lib${BPN}-staticdev = "${libdir}/lib*.a" |
31 | AUTO_LIBNAME_PKGS = "lib${BPN}${PKGSUFFIX}" | 28 | AUTO_LIBNAME_PKGS = "lib${BPN}" |
32 | 29 | ||
33 | BBCLASSEXTEND = "native nativesdk" | 30 | BBCLASSEXTEND = "native nativesdk" |