config/libc/newlib.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 05 20:31:43 2012 +0100 (2012-12-05)
changeset 3134 863723936e24
parent 3095 ee3bc44bf7f9
child 3149 e1611da4bb05
permissions -rw-r--r--
scripts/xldd: use user's sed and grep

xldd uses sed and grep as detected by ./configure. This works well if is
used on the machine that build the toolchain.

But if the user moves the toolchain to another machine where sed and grep
are not in the same directory (eg. /bin/sed vs. /usr/bin/sed), then xldd
will stop functionning.

Fix that by using ${SED} and ${GREP} if they are set in the environment.

Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
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
diorcet@3131
     6
## select CC_CORE_PASSES_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
austinpmorton@3047
    21
config LIBC_NEWLIB_V_1_20_0
austinpmorton@3047
    22
    bool
austinpmorton@3047
    23
    prompt "1.20.0 (EXPERIMENTAL)"
austinpmorton@3047
    24
    depends on EXPERIMENTAL
austinpmorton@3047
    25
yann@2539
    26
config LIBC_NEWLIB_V_1_19_0
yann@2539
    27
    bool
yann@2539
    28
    prompt "1.19.0 (EXPERIMENTAL)"
yann@2539
    29
    depends on EXPERIMENTAL
yann@2539
    30
yann@1724
    31
config LIBC_NEWLIB_V_1_18_0
yann@1724
    32
    bool
yann@1724
    33
    prompt "1.18.0 (EXPERIMENTAL)"
yann@1724
    34
    depends on EXPERIMENTAL
yann@1724
    35
yann@1590
    36
config LIBC_NEWLIB_V_1_17_0
mgl@1371
    37
    bool
mgl@1371
    38
    prompt "1.17.0"
mgl@1371
    39
david@3094
    40
config LIBC_NEWLIB_CUSTOM
david@3094
    41
    bool
david@3094
    42
    prompt "Custom newlib"
david@3094
    43
    depends on EXPERIMENTAL
david@3094
    44
mgl@1371
    45
endchoice
mgl@1371
    46
david@3094
    47
if LIBC_NEWLIB_CUSTOM
david@3094
    48
david@3094
    49
config LIBC_NEWLIB_CUSTOM_LOCATION
david@3094
    50
    string
david@3094
    51
    prompt "Full path to custom newlib source"
david@3094
    52
    default ""
david@3094
    53
    help
david@3094
    54
      Enter the path to the directory (or tarball) of your source for newlib,
david@3094
    55
      or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/newlib
david@3094
    56
david@3094
    57
endif # LIBC_NEWLIB_CUSTOM
david@3094
    58
mgl@1371
    59
config LIBC_VERSION
mgl@1371
    60
    string
yann@1535
    61
# Don't remove next line
yann@1535
    62
# CT_INSERT_VERSION_STRING_BELOW
austinpmorton@3047
    63
    default "1.20.0" if LIBC_NEWLIB_V_1_20_0
yann@2539
    64
    default "1.19.0" if LIBC_NEWLIB_V_1_19_0
yann@1724
    65
    default "1.18.0" if LIBC_NEWLIB_V_1_18_0
yann@1590
    66
    default "1.17.0" if LIBC_NEWLIB_V_1_17_0
david@3094
    67
    default "custom" if LIBC_NEWLIB_CUSTOM
yann@1593
    68
    help
yann@1593
    69
      Enter the tag you want to use.
yann@1593
    70
      Leave empty to use the 'head' of the repository.
yann@1593
    71
yann@1593
    72
comment "Architecture specific options"
mgl@1371
    73
mgl@1373
    74
config ATMEL_AVR32_HEADERS
mgl@1373
    75
    bool
mgl@1373
    76
    prompt "Install Atmel AVR32 headers"
yann@1591
    77
    depends on ARCH_avr32
mgl@1373
    78
    default y
mgl@1373
    79
    help
mgl@1373
    80
      Install Atmel AVR32 headers for native AVR32 development. Most
mgl@1373
    81
      AVR32 MCU devices are supported.
mgl@1373
    82
      
mgl@1373
    83
      If you do native AVR32 development you want to say 'Y' here.