From c0a148077ae27a1ef57c55ac22953c68d001af57 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 10 May 2011 14:04:57 +0100 Subject: distro: Add defaultsetup.conf, a set of default configuration providing sane overrridable default for commonly used options The intent is to allow distros to share common core config but still allow customisations. The core should work with no distro set but users can still customise in any ways needed. Signed-off-by: Richard Purdie --- meta/conf/distro/include/tclibc-glibc.inc | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta/conf/distro/include/tclibc-glibc.inc (limited to 'meta/conf/distro/include/tclibc-glibc.inc') diff --git a/meta/conf/distro/include/tclibc-glibc.inc b/meta/conf/distro/include/tclibc-glibc.inc new file mode 100644 index 0000000000..826f545acb --- /dev/null +++ b/meta/conf/distro/include/tclibc-glibc.inc @@ -0,0 +1,33 @@ +# +# glibc specific configuration +# + +TARGET_OS = "linux" +TARGET_OS_arm = "linux-gnueabi" +TARGET_OS_armeb = "linux-gnueabi" + +# Add glibc to the overrides. +OVERRIDES =. "libc-glibc:" + +PREFERRED_PROVIDER_virtual/libiconv ?= "glibc" +PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "glibc-nativesdk" +PREFERRED_PROVIDER_virtual/libintl ?= "glibc" +PREFERRED_PROVIDER_virtual/libc ?= "glibc" +PREFERRED_PROVIDER_virtual/libc-nativesdk ?= "glibc-nativesdk" + +CXXFLAGS += "-fvisibility-inlines-hidden" + +LIBC_DEPENDENCIES = "\ + libsegfault \ + glibc \ + glibc-dbg \ + glibc-dev \ + glibc-utils \ + glibc-thread-db \ + glibc-localedata-i18n \ + glibc-gconv-ibm850 \ + glibc-gconv-cp1252 \ + glibc-gconv-iso8859-1 \ + glibc-gconv-iso8859-15 \ + locale-base-en-gb \ + " -- cgit 1.2.3-korg