[oe] [PATCH] eglibc: Configure based on DISTRO_FEATURES_EGLIBC

Koen Kooi koen at dominion.thruhere.net
Wed Jan 12 09:03:31 UTC 2011


Op 12 jan 2011, om 09:48 heeft Khem Raj het volgende geschreven:

> * Let distros decide what features to enable if not
>  selected it will turn off all possible knobs
> 
> * Enable all knobs for angstrom and distros based on
>  sane-toolchain
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> CC: k.kooi at student.utwente.nl

That email address will stop to exist soon :)

> CC: koansoftware at gmail.com
> ---
> conf/distro/include/angstrom-eglibc.inc       |    8 ++-
> conf/distro/include/sane-toolchain-eglibc.inc |    8 ++
> recipes/eglibc/eglibc-options.inc             |   89 +++++++++++++------------
> recipes/eglibc/eglibc.inc                     |    4 +-
> 4 files changed, 62 insertions(+), 47 deletions(-)
> 
> diff --git a/conf/distro/include/angstrom-eglibc.inc b/conf/distro/include/angstrom-eglibc.inc
> index f0ef802..1e3b971 100644
> --- a/conf/distro/include/angstrom-eglibc.inc
> +++ b/conf/distro/include/angstrom-eglibc.inc
> @@ -26,4 +26,10 @@ BUILD_OPTIMIZATION_sparc = "-O2"
> TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel', 'mips64', 'mips64el']]}"
> 
> CXXFLAGS += "-fvisibility-inlines-hidden"
> -
> +DISTRO_FEATURES_EGLIBC ?= "ipv6 backtrace big-macros bsd cxx-tests catgets \
> +                           charsets crypt crypt-ufc db-aliases envz fcvt fmtmsg \
> +                           fstab ftraverse getlogin idn inet inet-anl libm \
> +                           libm-big locales locale-code memusage nis nsswitch \
> +                           rcmd rtld-debug spawn streams sunrpc utmp utmpx \
> +                           wordexp posix-clang-wchar posix-regexp \
> +                           posix-regexp-glibc posix-wchar-io"

Can we double-soft assign (??=) it in eglibc.inc as well?

regards,

Koen



More information about the Openembedded-devel mailing list