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

Khem Raj raj.khem at gmail.com
Wed Jan 12 09:09:06 UTC 2011


On 1/12/2011 1:03 AM, Koen Kooi wrote:
>
> 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 :)

ok

>
>> 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?

hmmm could be done. infact then we dont need to modify 
angstrom-eglibc.inc and sane-toolchain-eglibc.inc just having it in 
eglibc.inc will feed all the beasts.
>
> regards,
>
> Koen





More information about the Openembedded-devel mailing list