config/libc/uClibc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
parent 3142 6569f6a9060c
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 options
     2 
     3 ## depends on ! WINDOWS && ! BARE_METAL
     4 ##
     5 ## select LIBC_SUPPORT_LINUXTHREADS
     6 ## select LIBC_SUPPORT_THREADS_NONE
     7 ## select CC_CORE_PASSES_NEEDED
     8 ##
     9 ## help The de-facto standard for embeded linux systems.
    10 ## help
    11 ## help Highly configurable, thus as feature-rich as you
    12 ## help need, without compromising for size.
    13 
    14 if ARCH_FLOAT_SOFTFP
    15 comment "'softfp' ABI and uClibc is not entirely tested in crosstool-NG"
    16 comment "You may experience issues, although it should work just fine"
    17 endif # ARCH_FLOAT_SOFTFP
    18 
    19 choice
    20     bool
    21     prompt "uClibc version"
    22 # Don't remove next line
    23 # CT_INSERT_VERSION_BELOW
    24 
    25 config LIBC_UCLIBC_V_0_9_33_2
    26     bool
    27     prompt "0.9.33.2"
    28     select LIBC_UCLIBC_0_9_32_or_later
    29 
    30 config LIBC_UCLIBC_V_0_9_33_1
    31     bool
    32     prompt "0.9.33.1"
    33     select LIBC_UCLIBC_0_9_32_or_later
    34 
    35 config LIBC_UCLIBC_V_0_9_33
    36     bool
    37     prompt "0.9.33"
    38     select LIBC_UCLIBC_0_9_32_or_later
    39 
    40 config LIBC_UCLIBC_V_0_9_32_1
    41     bool
    42     prompt "0.9.32.1"
    43     select LIBC_UCLIBC_0_9_32_or_later
    44 
    45 config LIBC_UCLIBC_V_0_9_32
    46     bool
    47     prompt "0.9.32"
    48     select LIBC_UCLIBC_0_9_32_or_later
    49 
    50 config LIBC_UCLIBC_V_0_9_31
    51     bool
    52     prompt "0.9.31"
    53     select LIBC_UCLIBC_0_9_30_or_later
    54 
    55 config LIBC_UCLIBC_V_0_9_30_3
    56     bool
    57     prompt "0.9.30.3"
    58     select LIBC_UCLIBC_0_9_30_or_later
    59 
    60 config LIBC_UCLIBC_V_0_9_30_2
    61     bool
    62     prompt "0.9.30.2"
    63     select LIBC_UCLIBC_0_9_30_or_later
    64 
    65 config LIBC_UCLIBC_V_0_9_30_1
    66     bool
    67     prompt "0.9.30.1"
    68     select LIBC_UCLIBC_0_9_30_or_later
    69 
    70 config LIBC_UCLIBC_V_0_9_30
    71     bool
    72     prompt "0.9.30"
    73     select LIBC_UCLIBC_0_9_30_or_later
    74 
    75 config LIBC_UCLIBC_CUSTOM
    76     bool
    77     prompt "Custom uClibc"
    78     depends on EXPERIMENTAL
    79     select LIBC_SUPPORT_NPTL
    80     select LIBC_UCLIBC_0_9_30_or_later
    81 
    82 endchoice
    83 
    84 if LIBC_UCLIBC_CUSTOM
    85 
    86 config LIBC_UCLIBC_CUSTOM_LOCATION
    87     string
    88     prompt "Full path to custom uClibc source"
    89     default ""
    90     help
    91       Enter the path to the directory (or tarball) of your source for uClibc,
    92       or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/uClibc
    93 
    94 endif # LIBC_UCLIBC_CUSTOM
    95 
    96 config LIBC_VERSION
    97     string
    98 # Don't remove next line
    99 # CT_INSERT_VERSION_STRING_BELOW
   100     default "0.9.33.2" if LIBC_UCLIBC_V_0_9_33_2
   101     default "0.9.33.1" if LIBC_UCLIBC_V_0_9_33_1
   102     default "0.9.33" if LIBC_UCLIBC_V_0_9_33
   103     default "0.9.32.1" if LIBC_UCLIBC_V_0_9_32_1
   104     default "0.9.32" if LIBC_UCLIBC_V_0_9_32
   105     default "0.9.31" if LIBC_UCLIBC_V_0_9_31
   106     default "0.9.30.3" if LIBC_UCLIBC_V_0_9_30_3
   107     default "0.9.30.2" if LIBC_UCLIBC_V_0_9_30_2
   108     default "0.9.30.1" if LIBC_UCLIBC_V_0_9_30_1
   109     default "0.9.30" if LIBC_UCLIBC_V_0_9_30
   110     default "custom" if LIBC_UCLIBC_CUSTOM
   111 
   112 config LIBC_UCLIBC_0_9_32_or_later
   113     bool
   114     select LIBC_SUPPORT_NPTL
   115     select LIBC_UCLIBC_0_9_30_or_later
   116 
   117 config LIBC_UCLIBC_0_9_30_or_later
   118     bool
   119     select LIBC_UCLIBC_PARALLEL
   120 
   121 config LIBC_UCLIBC_PARALLEL
   122     bool
   123 
   124 choice
   125     bool
   126     prompt "uClibc verbosity:"
   127     default LIBC_UCLIBC_VERBOSITY_0
   128 
   129 config LIBC_UCLIBC_VERBOSITY_0
   130     bool
   131     prompt "Quiet build"
   132     help
   133       Print terse command indications.
   134 
   135 config LIBC_UCLIBC_VERBOSITY_1
   136     bool
   137     prompt "Brief build (show defines, ld flags)"
   138     help
   139       Print simplified command lines.
   140 
   141 config LIBC_UCLIBC_VERBOSITY_2
   142     bool
   143     prompt "Very verbose build"
   144     help
   145       Print full command lines.
   146 
   147 endchoice
   148 
   149 config LIBC_UCLIBC_VERBOSITY
   150     string
   151     default ""      if LIBC_UCLIBC_VERBOSITY_0
   152     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
   153     default "V=2"   if LIBC_UCLIBC_VERBOSITY_2
   154 
   155 choice
   156     bool
   157     prompt "Debug level"
   158     default LIBC_UCLIBC_DEBUG_LEVEL_0
   159 
   160 config LIBC_UCLIBC_DEBUG_LEVEL_0
   161     bool
   162     prompt "none"
   163 
   164 config LIBC_UCLIBC_DEBUG_LEVEL_1
   165     bool
   166     prompt "minimal"
   167 
   168 config LIBC_UCLIBC_DEBUG_LEVEL_2
   169     bool
   170     prompt "normal"
   171 
   172 config LIBC_UCLIBC_DEBUG_LEVEL_3
   173     bool
   174     prompt "all"
   175 
   176 endchoice
   177 
   178 config LIBC_UCLIBC_DEBUG_LEVEL
   179     int
   180     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   181     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   182     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   183 
   184 config LIBC_UCLIBC_CONFIG_FILE
   185     string
   186     prompt "Configuration file"
   187     default ""
   188     help
   189       Path to the configuration file.
   190       
   191       You _must_ provide one (for now).