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/conf/bitbake.conf | |
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/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 7dfeda32aa..1d56813a6b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -194,7 +194,7 @@ EXTENDPKGV ?= "${EXTENDPKGEVER}${PKGV}-${PKGR}" | |||
194 | # Base package name | 194 | # Base package name |
195 | # Automatically derives "foo" from "foo-native", "foo-cross" or "foo-initial" | 195 | # Automatically derives "foo" from "foo-native", "foo-cross" or "foo-initial" |
196 | # otherwise it is the same as PN and P | 196 | # otherwise it is the same as PN and P |
197 | SPECIAL_PKGSUFFIX = "-native -cross -initial -intermediate -nativesdk -crosssdk -cross-canadian" | 197 | SPECIAL_PKGSUFFIX = "-native -cross -initial -intermediate -crosssdk -cross-canadian" |
198 | BPN = "${@base_prune_suffix(d.getVar('PN', True), d.getVar('SPECIAL_PKGSUFFIX', True).split(), d)}" | 198 | BPN = "${@base_prune_suffix(d.getVar('PN', True), d.getVar('SPECIAL_PKGSUFFIX', True).split(), d)}" |
199 | BP = "${BPN}-${PV}" | 199 | BP = "${BPN}-${PV}" |
200 | 200 | ||
@@ -250,7 +250,7 @@ PROVIDES = "" | |||
250 | PROVIDES_prepend = "${P} ${PF} ${PN} " | 250 | PROVIDES_prepend = "${P} ${PF} ${PN} " |
251 | RPROVIDES = "" | 251 | RPROVIDES = "" |
252 | 252 | ||
253 | MULTI_PROVIDER_WHITELIST = "virtual/libintl virtual/libintl-native virtual/libintl-nativesdk virtual/xserver virtual/update-alternatives-native virtual/update-alternatives" | 253 | MULTI_PROVIDER_WHITELIST = "virtual/libintl virtual/libintl-native virtual/nativesdk-libintl virtual/xserver virtual/update-alternatives-native virtual/update-alternatives" |
254 | 254 | ||
255 | SOLIBS = ".so.*" | 255 | SOLIBS = ".so.*" |
256 | SOLIBS_darwin = ".*.dylib" | 256 | SOLIBS_darwin = ".*.dylib" |