From 6e2b53f47da0e97271fb51b281d24da1e1d549cc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 30 Nov 2011 19:07:07 -0800 Subject: classes, conf: Exclude native and nativesdk recipes from libc specific override Based on suggestions from RP libc-uclibc and libc-glibc overrides are for denoting system C library in use on the target and not for the host therefore we make sure that the override only takes effect for target recipes only. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/conf/distro/include/tclibc-eglibc.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/conf/distro/include/tclibc-eglibc.inc') diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc index 8ef3cebb9..8b8a21413 100644 --- a/meta/conf/distro/include/tclibc-eglibc.inc +++ b/meta/conf/distro/include/tclibc-eglibc.inc @@ -5,7 +5,8 @@ LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}" # Add glibc overrides to the overrides for eglibc. -OVERRIDES .= ":libc-glibc" +LIBCOVERRIDE = ":libc-glibc" +OVERRIDES .= "${LIBCOVERRIDE}" PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc" PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk" -- cgit v1.2.3