config/libc/uClibc.in.2
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
parent 2484 d1a8c2ae7946
permissions -rw-r--r--
all: fix wildcard to work with make-4.x

In make-3.8x, the $(wildacrd) function would sort the entries,
while in make-4.x, it would just return the entries in any
unpredictable order [*]

Use the $(sort) function to get reproducible behaviour.

[*] Well, most probably the roder the entries appear when read
from readdir()

Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
     1 # uClibc second-part option
     2 
     3 if THREADS_LINUXTHREADS
     4 
     5 choice
     6     bool
     7     prompt "Linuxthread implementation: "
     8     default LIBC_UCLIBC_LNXTHRD_OLD
     9 
    10 config LIBC_UCLIBC_LNXTHRD_OLD
    11     bool
    12     prompt "old/stable"
    13     help
    14       From the uClibc config option help:
    15         There are two versions of linuxthreads.  The older (stable) version
    16         has been in uClibc for quite a long time but hasn't seen too many
    17         updates other than bugfixes.
    18 
    19 config LIBC_UCLIBC_LNXTHRD_NEW
    20     bool
    21     prompt "new"
    22     help
    23       From the uClibc config option help:
    24         The new version has not been tested much, and lacks ports for arches
    25         which glibc does not support (like bfin/frv/etc...), but is based on
    26         the latest code from glibc, so it may be the only choice for the
    27         newer ports (like alpha/amd64/64bit arches and hppa).
    28 
    29 endchoice
    30 
    31 endif # THREADS_LINUXTHREADS
    32 
    33 config LIBC_UCLIBC_LNXTHRD
    34     string
    35     default ""      if THREADS_NONE
    36     default ""      if THREADS_NPTL
    37     default "old"   if LIBC_UCLIBC_LNXTHRD_OLD
    38     default "new"   if LIBC_UCLIBC_LNXTHRD_NEW
    39 
    40 config LIBC_UCLIBC_LOCALES
    41     bool
    42     select LIBC_UCLIBC_WCHAR
    43     prompt "Add support for locales"
    44     help
    45       Say y if you want uClibc to support localisation.
    46 
    47       Note that seems to be broken on recent uClibc releases.
    48 
    49 config LIBC_UCLIBC_LOCALES_PREGEN_DATA
    50     bool
    51     prompt "Use pregen locales"
    52     depends on LIBC_UCLIBC_LOCALES
    53     default y
    54     help
    55       If you see issues with using pre-generated locales data,
    56       you can try switching this off.
    57 
    58       If so, please report the issue, so we can default this
    59       to off if too many people complain.
    60 
    61 config LIBC_UCLIBC_WCHAR
    62     bool
    63     prompt "Add support for WCHAR"
    64     help
    65       Say y if you want uClibc to support WCHAR.
    66 
    67       Maybe this is needed, if you're building a C++-Compiler
    68 
    69 config LIBC_UCLIBC_FENV
    70     bool
    71     prompt "Add support for fenv.h"
    72     default y if ARCH_x86
    73     help
    74       fenv.h provides functions to control the floating point environment,
    75       such as rounding mode, exceptions...
    76 
    77       For some architectures, fenv.h is incomplete, so is not installed
    78       by default. x86 is known to have a rather complete fenv.h, so it is
    79       installed by default only for x86.
    80 
    81       If you need fenv.h on other architectures, say 'y' here, but you may
    82       encounter some issues.