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/distro/include | |
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/distro/include')
-rw-r--r-- | meta/conf/distro/include/default-providers.inc | 6 | ||||
-rw-r--r-- | meta/conf/distro/include/tclibc-eglibc.inc | 4 | ||||
-rw-r--r-- | meta/conf/distro/include/tcmode-default.inc | 14 |
3 files changed, 12 insertions, 12 deletions
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc index 28d2f8eac7..2d8a17dee9 100644 --- a/meta/conf/distro/include/default-providers.inc +++ b/meta/conf/distro/include/default-providers.inc | |||
@@ -27,12 +27,12 @@ PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib" | |||
27 | PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native" | 27 | PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native" |
28 | PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf" | 28 | PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf" |
29 | PREFERRED_PROVIDER_libgcc ?= "libgcc" | 29 | PREFERRED_PROVIDER_libgcc ?= "libgcc" |
30 | PREFERRED_PROVIDER_libgcc-nativesdk ?= "libgcc-nativesdk" | 30 | PREFERRED_PROVIDER_nativesdk-libgcc ?= "nativesdk-libgcc" |
31 | PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers" | 31 | PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers" |
32 | PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-libc-headers-nativesdk" | 32 | PREFERRED_PROVIDER_nativesdk-linux-libc-headers ?= "nativesdk-linux-libc-headers" |
33 | PREFERRED_PROVIDER_matchbox-panel ?= "matchbox-panel-2" | 33 | PREFERRED_PROVIDER_matchbox-panel ?= "matchbox-panel-2" |
34 | PREFERRED_PROVIDER_opkg ?= "opkg" | 34 | PREFERRED_PROVIDER_opkg ?= "opkg" |
35 | PREFERRED_PROVIDER_opkg-native ?= "opkg-native" | 35 | PREFERRED_PROVIDER_opkg-native ?= "opkg-native" |
36 | PREFERRED_PROVIDER_opkg-nativesdk ?= "opkg-nativesdk" | 36 | PREFERRED_PROVIDER_nativesdk-opkg ?= "nativesdk-opkg" |
37 | PREFERRED_PROVIDER_console-tools ?= "kbd" | 37 | PREFERRED_PROVIDER_console-tools ?= "kbd" |
38 | PREFERRED_PROVIDER_gzip-native ?= "pigz-native" | 38 | PREFERRED_PROVIDER_gzip-native ?= "pigz-native" |
diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc index 4f5607f226..1c9e7e9de9 100644 --- a/meta/conf/distro/include/tclibc-eglibc.inc +++ b/meta/conf/distro/include/tclibc-eglibc.inc | |||
@@ -9,10 +9,10 @@ LIBCOVERRIDE = ":libc-glibc" | |||
9 | OVERRIDES .= "${LIBCOVERRIDE}" | 9 | OVERRIDES .= "${LIBCOVERRIDE}" |
10 | 10 | ||
11 | PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc" | 11 | PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc" |
12 | PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk" | 12 | PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-eglibc" |
13 | PREFERRED_PROVIDER_virtual/libintl ?= "eglibc" | 13 | PREFERRED_PROVIDER_virtual/libintl ?= "eglibc" |
14 | PREFERRED_PROVIDER_virtual/libc ?= "eglibc" | 14 | PREFERRED_PROVIDER_virtual/libc ?= "eglibc" |
15 | PREFERRED_PROVIDER_virtual/libc-nativesdk ?= "eglibc-nativesdk" | 15 | PREFERRED_PROVIDER_virtual/nativesdk-libc ?= "nativesdk-eglibc" |
16 | PREFERRED_PROVIDER_virtual/libc-locale ?= "eglibc-locale" | 16 | PREFERRED_PROVIDER_virtual/libc-locale ?= "eglibc-locale" |
17 | 17 | ||
18 | CXXFLAGS += "-fvisibility-inlines-hidden" | 18 | CXXFLAGS += "-fvisibility-inlines-hidden" |
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 2bfa225efd..91936918a4 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc | |||
@@ -12,9 +12,9 @@ PREFERRED_PROVIDER_gdb = "gdb" | |||
12 | 12 | ||
13 | # Default libc config | 13 | # Default libc config |
14 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${TCLIBC}" | 14 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${TCLIBC}" |
15 | PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-for-gcc-nativesdk ?= "${TCLIBC}-nativesdk" | 15 | PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc ?= "nativesdk-${TCLIBC}" |
16 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" | 16 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" |
17 | PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk = "${TCLIBC}-initial-nativesdk" | 17 | PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial = "nativesdk-${TCLIBC}-initial" |
18 | PREFERRED_PROVIDER_virtual/gettext ??= "gettext" | 18 | PREFERRED_PROVIDER_virtual/gettext ??= "gettext" |
19 | 19 | ||
20 | GCCVERSION ?= "4.7%" | 20 | GCCVERSION ?= "4.7%" |
@@ -33,20 +33,20 @@ PREFERRED_VERSION_gcc-crosssdk-initial ?= "${SDKGCCVERSION}" | |||
33 | PREFERRED_VERSION_gcc-crosssdk-intermediate ?= "${SDKGCCVERSION}" | 33 | PREFERRED_VERSION_gcc-crosssdk-intermediate ?= "${SDKGCCVERSION}" |
34 | PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}" | 34 | PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}" |
35 | PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}" | 35 | PREFERRED_VERSION_gcc-runtime ?= "${GCCVERSION}" |
36 | PREFERRED_VERSION_gcc-runtime-nativesdk ?= "${SDKGCCVERSION}" | 36 | PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}" |
37 | PREFERRED_VERSION_libgcc ?= "${GCCVERSION}" | 37 | PREFERRED_VERSION_libgcc ?= "${GCCVERSION}" |
38 | PREFERRED_VERSION_libgcc-nativesdk ?= "${SDKGCCVERSION}" | 38 | PREFERRED_VERSION_nativesdk-libgcc ?= "${SDKGCCVERSION}" |
39 | PREFERRED_VERSION_binutils ?= "${BINUVERSION}" | 39 | PREFERRED_VERSION_binutils ?= "${BINUVERSION}" |
40 | PREFERRED_VERSION_binutils-cross ?= "${BINUVERSION}" | 40 | PREFERRED_VERSION_binutils-cross ?= "${BINUVERSION}" |
41 | PREFERRED_VERSION_binutils-crosssdk ?= "${BINUVERSION}" | 41 | PREFERRED_VERSION_binutils-crosssdk ?= "${BINUVERSION}" |
42 | PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}" | 42 | PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}" |
43 | PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" | 43 | PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" |
44 | PREFERRED_VERSION_linux-libc-headers-nativesdk ?= "${LINUXLIBCVERSION}" | 44 | PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}" |
45 | PREFERRED_VERSION_eglibc ?= "${EGLIBCVERSION}" | 45 | PREFERRED_VERSION_eglibc ?= "${EGLIBCVERSION}" |
46 | PREFERRED_VERSION_eglibc-locale ?= "${EGLIBCVERSION}" | 46 | PREFERRED_VERSION_eglibc-locale ?= "${EGLIBCVERSION}" |
47 | PREFERRED_VERSION_eglibc-nativesdk ?= "${EGLIBCVERSION}" | 47 | PREFERRED_VERSION_nativesdk-eglibc ?= "${EGLIBCVERSION}" |
48 | PREFERRED_VERSION_eglibc-initial ?= "${EGLIBCVERSION}" | 48 | PREFERRED_VERSION_eglibc-initial ?= "${EGLIBCVERSION}" |
49 | PREFERRED_VERSION_eglibc-initial-nativesdk ?= "${EGLIBCVERSION}" | 49 | PREFERRED_VERSION_nativesdk-eglibc-initial ?= "${EGLIBCVERSION}" |
50 | PREFERRED_VERSION_cross-localedef-native ?= "${EGLIBCVERSION}" | 50 | PREFERRED_VERSION_cross-localedef-native ?= "${EGLIBCVERSION}" |
51 | PREFERRED_VERSION_uclibc ?= "${UCLIBCVERSION}" | 51 | PREFERRED_VERSION_uclibc ?= "${UCLIBCVERSION}" |
52 | PREFERRED_VERSION_uclibc-initial ?= "${UCLIBCVERSION}" | 52 | PREFERRED_VERSION_uclibc-initial ?= "${UCLIBCVERSION}" |