diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/native.bbclass | 3 | ||||
-rw-r--r-- | meta/classes/nativesdk.bbclass | 3 | ||||
-rw-r--r-- | meta/conf/distro/include/tclibc-eglibc.inc | 3 | ||||
-rw-r--r-- | meta/conf/distro/include/tclibc-uclibc.inc | 3 |
4 files changed, 10 insertions, 2 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 8f7cc1f2d3..49823d6fc6 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -92,6 +92,9 @@ EXTRA_NATIVE_PKGCONFIG_PATH ?= "" | |||
92 | PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}" | 92 | PKG_CONFIG_PATH .= "${EXTRA_NATIVE_PKGCONFIG_PATH}" |
93 | PKG_CONFIG_SYSROOT_DIR = "" | 93 | PKG_CONFIG_SYSROOT_DIR = "" |
94 | 94 | ||
95 | # we dont want libc-uclibc or libc-glibc to kick in for native recipes | ||
96 | LIBCOVERRIDE = "" | ||
97 | |||
95 | PATH =. "${COREBASE}/scripts/native-intercept:" | 98 | PATH =. "${COREBASE}/scripts/native-intercept:" |
96 | 99 | ||
97 | python native_virtclass_handler () { | 100 | python native_virtclass_handler () { |
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index e6204c02ba..b8abc9f3f8 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass | |||
@@ -6,6 +6,9 @@ EXCLUDE_FROM_WORLD = "1" | |||
6 | 6 | ||
7 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}" | 7 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}" |
8 | 8 | ||
9 | # we dont want libc-uclibc or libc-glibc to kick in for nativesdk recipes | ||
10 | LIBCOVERRIDE = "" | ||
11 | |||
9 | # | 12 | # |
10 | # Update PACKAGE_ARCH and PACKAGE_ARCHS | 13 | # Update PACKAGE_ARCH and PACKAGE_ARCHS |
11 | # | 14 | # |
diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc index 8ef3cebb9a..8b8a214132 100644 --- a/meta/conf/distro/include/tclibc-eglibc.inc +++ b/meta/conf/distro/include/tclibc-eglibc.inc | |||
@@ -5,7 +5,8 @@ | |||
5 | LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}" | 5 | LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}" |
6 | 6 | ||
7 | # Add glibc overrides to the overrides for eglibc. | 7 | # Add glibc overrides to the overrides for eglibc. |
8 | OVERRIDES .= ":libc-glibc" | 8 | LIBCOVERRIDE = ":libc-glibc" |
9 | OVERRIDES .= "${LIBCOVERRIDE}" | ||
9 | 10 | ||
10 | PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc" | 11 | PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc" |
11 | PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk" | 12 | PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk" |
diff --git a/meta/conf/distro/include/tclibc-uclibc.inc b/meta/conf/distro/include/tclibc-uclibc.inc index e0f50a0567..3984235d94 100644 --- a/meta/conf/distro/include/tclibc-uclibc.inc +++ b/meta/conf/distro/include/tclibc-uclibc.inc | |||
@@ -5,7 +5,8 @@ | |||
5 | LIBCEXTENSION = "-uclibc" | 5 | LIBCEXTENSION = "-uclibc" |
6 | 6 | ||
7 | # Add uclibc overrides to the overrides. | 7 | # Add uclibc overrides to the overrides. |
8 | OVERRIDES =. "libc-uclibc:" | 8 | LIBCOVERRIDE = ":libc-uclibc" |
9 | OVERRIDES .= "${LIBCOVERRIDE}" | ||
9 | 10 | ||
10 | PREFERRED_PROVIDER_virtual/libc = "uclibc" | 11 | PREFERRED_PROVIDER_virtual/libc = "uclibc" |
11 | PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv" | 12 | PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv" |