config/libc/newlib.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 3266 84fcb0cae9a4
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 # newlib options
     2 
     3 ## depends on BARE_METAL
     4 ##
     5 ## select LIBC_SUPPORT_THREADS_NONE
     6 ## select CC_CORE_PASS_2_NEEDED
     7 ##
     8 ## help Newlib is a C library intended for use on embedded systems. It is a
     9 ## help conglomeration of several library parts, all under free software
    10 ## help licenses that make them easily usable on embedded products. Newlib
    11 ## help is only available in source form. It can be compiled for a wide
    12 ## help array of processors, and will usually work on any architecture with
    13 ## help the addition of a few low-level routines.
    14 
    15 choice
    16     bool
    17     prompt "newlib version"
    18 # Don't remove next line
    19 # CT_INSERT_VERSION_BELOW
    20 
    21 config LIBC_NEWLIB_V_2_1_0
    22     bool
    23     prompt "2.1.0 (EXPERIMENTAL)"
    24     depends on EXPERIMENTAL
    25 
    26 config LIBC_NEWLIB_V_2_0_0
    27     bool
    28     prompt "2.0.0 (EXPERIMENTAL)"
    29     depends on EXPERIMENTAL
    30 
    31 config LIBC_NEWLIB_V_1_20_0
    32     bool
    33     prompt "1.20.0"
    34 
    35 config LIBC_NEWLIB_V_1_19_0
    36     bool
    37     prompt "1.19.0"
    38 
    39 config LIBC_NEWLIB_V_1_18_0
    40     bool
    41     prompt "1.18.0"
    42 
    43 config LIBC_NEWLIB_V_1_17_0
    44     bool
    45     prompt "1.17.0"
    46 
    47 config LIBC_NEWLIB_CUSTOM
    48     bool
    49     prompt "Custom newlib"
    50     depends on EXPERIMENTAL
    51 
    52 endchoice
    53 
    54 if LIBC_NEWLIB_CUSTOM
    55 
    56 config LIBC_NEWLIB_CUSTOM_LOCATION
    57     string
    58     prompt "Full path to custom newlib source"
    59     default ""
    60     help
    61       Enter the path to the directory (or tarball) of your source for newlib,
    62       or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/newlib
    63 
    64 endif # LIBC_NEWLIB_CUSTOM
    65 
    66 config LIBC_VERSION
    67     string
    68 # Don't remove next line
    69 # CT_INSERT_VERSION_STRING_BELOW
    70     default "2.1.0" if LIBC_NEWLIB_V_2_1_0
    71     default "2.0.0" if LIBC_NEWLIB_V_2_0_0
    72     default "1.20.0" if LIBC_NEWLIB_V_1_20_0
    73     default "1.19.0" if LIBC_NEWLIB_V_1_19_0
    74     default "1.18.0" if LIBC_NEWLIB_V_1_18_0
    75     default "1.17.0" if LIBC_NEWLIB_V_1_17_0
    76     default "custom" if LIBC_NEWLIB_CUSTOM
    77     help
    78       Enter the tag you want to use.
    79       Leave empty to use the 'head' of the repository.
    80 
    81 comment "Architecture specific options"
    82 
    83 config ATMEL_AVR32_HEADERS
    84     bool
    85     prompt "Install Atmel AVR32 headers"
    86     depends on ARCH_avr32
    87     default y
    88     help
    89       Install Atmel AVR32 headers for native AVR32 development. Most
    90       AVR32 MCU devices are supported.
    91       
    92       If you do native AVR32 development you want to say 'Y' here.