diff options
-rw-r--r-- | meta/conf/distro/include/tclibc-eglibc.inc | 8 | ||||
-rw-r--r-- | meta/conf/distro/include/tclibc-glibc.inc | 7 | ||||
-rw-r--r-- | meta/conf/distro/include/tclibc-uclibc.inc | 3 | ||||
-rw-r--r-- | meta/conf/distro/include/tcmode-default.inc | 8 |
4 files changed, 7 insertions, 19 deletions
diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc index b65e58e007..a4c648e28e 100644 --- a/meta/conf/distro/include/tclibc-eglibc.inc +++ b/meta/conf/distro/include/tclibc-eglibc.inc | |||
@@ -10,17 +10,11 @@ TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d | |||
10 | # Add glibc overrides to the overrides for eglibc. | 10 | # Add glibc overrides to the overrides for eglibc. |
11 | OVERRIDES .= ":libc-glibc" | 11 | OVERRIDES .= ":libc-glibc" |
12 | 12 | ||
13 | #eglibc | ||
14 | PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc" | 13 | PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc" |
14 | PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk" | ||
15 | PREFERRED_PROVIDER_virtual/libintl ?= "eglibc" | 15 | PREFERRED_PROVIDER_virtual/libintl ?= "eglibc" |
16 | PREFERRED_PROVIDER_virtual/libc ?= "eglibc" | 16 | PREFERRED_PROVIDER_virtual/libc ?= "eglibc" |
17 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial ?= "eglibc-initial" | ||
18 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc ?= "eglibc" | ||
19 | |||
20 | #eglibc-nativesdk | ||
21 | PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk" | ||
22 | PREFERRED_PROVIDER_virtual/libc-nativesdk ?= "eglibc-nativesdk" | 17 | PREFERRED_PROVIDER_virtual/libc-nativesdk ?= "eglibc-nativesdk" |
23 | PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk ?= "eglibc-initial-nativesdk" | ||
24 | 18 | ||
25 | CXXFLAGS += "-fvisibility-inlines-hidden" | 19 | CXXFLAGS += "-fvisibility-inlines-hidden" |
26 | 20 | ||
diff --git a/meta/conf/distro/include/tclibc-glibc.inc b/meta/conf/distro/include/tclibc-glibc.inc index 75934a034f..e5843b0692 100644 --- a/meta/conf/distro/include/tclibc-glibc.inc +++ b/meta/conf/distro/include/tclibc-glibc.inc | |||
@@ -10,16 +10,11 @@ TARGET_OS_powerpc = "linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d | |||
10 | # Add glibc to the overrides. | 10 | # Add glibc to the overrides. |
11 | OVERRIDES =. "libc-glibc:" | 11 | OVERRIDES =. "libc-glibc:" |
12 | 12 | ||
13 | #glibc | ||
14 | PREFERRED_PROVIDER_virtual/libiconv ?= "glibc" | 13 | PREFERRED_PROVIDER_virtual/libiconv ?= "glibc" |
14 | PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "glibc-nativesdk" | ||
15 | PREFERRED_PROVIDER_virtual/libintl ?= "glibc" | 15 | PREFERRED_PROVIDER_virtual/libintl ?= "glibc" |
16 | PREFERRED_PROVIDER_virtual/libc ?= "glibc" | 16 | PREFERRED_PROVIDER_virtual/libc ?= "glibc" |
17 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial ?= "glibc-initial" | ||
18 | |||
19 | #glibc-nativesdk | ||
20 | PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "glibc-nativesdk" | ||
21 | PREFERRED_PROVIDER_virtual/libc-nativesdk ?= "glibc-nativesdk" | 17 | PREFERRED_PROVIDER_virtual/libc-nativesdk ?= "glibc-nativesdk" |
22 | PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk ?= "glibc-initial-nativesdk" | ||
23 | 18 | ||
24 | CXXFLAGS += "-fvisibility-inlines-hidden" | 19 | CXXFLAGS += "-fvisibility-inlines-hidden" |
25 | 20 | ||
diff --git a/meta/conf/distro/include/tclibc-uclibc.inc b/meta/conf/distro/include/tclibc-uclibc.inc index 9b1c2094ca..27f6ec672e 100644 --- a/meta/conf/distro/include/tclibc-uclibc.inc +++ b/meta/conf/distro/include/tclibc-uclibc.inc | |||
@@ -10,15 +10,12 @@ TARGET_OS_armeb = "linux-uclibceabi" | |||
10 | OVERRIDES =. "libc-uclibc:" | 10 | OVERRIDES =. "libc-uclibc:" |
11 | 11 | ||
12 | PREFERRED_PROVIDER_virtual/libc = "uclibc" | 12 | PREFERRED_PROVIDER_virtual/libc = "uclibc" |
13 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "uclibc" | ||
14 | PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv" | 13 | PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv" |
15 | PREFERRED_PROVIDER_virtual/libintl ?= "gettext" | 14 | PREFERRED_PROVIDER_virtual/libintl ?= "gettext" |
16 | 15 | ||
17 | USE_NLS ?= "no" | 16 | USE_NLS ?= "no" |
18 | USE_NLS_glib-2.0 = "yes" | 17 | USE_NLS_glib-2.0 = "yes" |
19 | 18 | ||
20 | TARGET_OS = "${UCLIBCTARGETOS}" | ||
21 | |||
22 | CXXFLAGS += "-fvisibility-inlines-hidden" | 19 | CXXFLAGS += "-fvisibility-inlines-hidden" |
23 | 20 | ||
24 | IMAGE_LINGUAS = "" | 21 | IMAGE_LINGUAS = "" |
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 666e61f0ea..584da9bbba 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc | |||
@@ -2,16 +2,18 @@ | |||
2 | # Default toolchain configuration | 2 | # Default toolchain configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${TCLIBC}" | ||
6 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross" | 5 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "binutils-cross" |
7 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-cross-initial" | 6 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-cross-initial" |
8 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "gcc-cross-intermediate" | 7 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "gcc-cross-intermediate" |
9 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross" | 8 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-cross" |
10 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross" | 9 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-cross" |
11 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "gcc-runtime" | 10 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "gcc-runtime" |
12 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" | ||
13 | PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-for-gcc-nativesdk ?= "${TCLIBC}-nativesdk" | ||
14 | 11 | ||
12 | # Default libc config | ||
13 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "${TCLIBC}" | ||
14 | PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-for-gcc-nativesdk ?= "${TCLIBC}-nativesdk" | ||
15 | PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial" | ||
16 | PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk = "${TCLIBC}-initial-nativesdk" | ||
15 | PREFERRED_PROVIDER_virtual/gettext ??= "gettext" | 17 | PREFERRED_PROVIDER_virtual/gettext ??= "gettext" |
16 | 18 | ||
17 | GCCVERSION ?= "4.5.1" | 19 | GCCVERSION ?= "4.5.1" |