config/libc/newlib.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 11 23:43:52 2014 +0200 (2014-05-11)
changeset 3320 78af1c99bc6d
parent 3266 84fcb0cae9a4
permissions -rw-r--r--
scripts/functions: add target_endian_le and target_endian_be

We currently define target_endian_el and target_endian_eb to be the
tuple extension depending on endianness, defined to be respectively
'el' or 'eb' according to the endianness.

Some architecture do not use 'el' or 'eb', but use 'le' or 'be'.

Provide that as well, as two new variables: target_endian_le and
target_endian_be.

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