config/libc/glibc.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 3112 6cb56b3f2d34
child 3142 6569f6a9060c
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>
     1 # glibc options
     2 
     3 ## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU
     4 ##
     5 ## select LIBC_SUPPORT_NPTL
     6 ## select CC_CORE_PASSES_NEEDED
     7 ##
     8 ## help The de-facto standard for Linux distributions.
     9 ## help Feature-rich, but large...  Most usefull for desktop-like systems.
    10 
    11 choice
    12     bool
    13     prompt "glibc version"
    14 # Don't remove next line
    15 # CT_INSERT_VERSION_BELOW
    16 
    17 config LIBC_GLIBC_V_2_14_1
    18     bool
    19     prompt "2.14.1"
    20 
    21 config LIBC_GLIBC_V_2_14
    22     bool
    23     prompt "2.14"
    24 
    25 config LIBC_GLIBC_V_2_13
    26     bool
    27     prompt "2.13"
    28 
    29 config LIBC_GLIBC_V_2_12_2
    30     bool
    31     prompt "2.12.2"
    32 
    33 config LIBC_GLIBC_V_2_12_1
    34     bool
    35     prompt "2.12.1"
    36 
    37 config LIBC_GLIBC_V_2_11_1
    38     bool
    39     prompt "2.11.1"
    40 
    41 config LIBC_GLIBC_V_2_11
    42     bool
    43     prompt "2.11"
    44 
    45 config LIBC_GLIBC_V_2_10_1
    46     bool
    47     prompt "2.10.1"
    48     select LIBC_GLIBC_USE_PORTS
    49 
    50 config LIBC_GLIBC_V_2_9
    51     bool
    52     prompt "2.9"
    53 
    54 config LIBC_GLIBC_V_2_8
    55     bool
    56     prompt "2.8"
    57 
    58 config LIBC_GLIBC_V_2_7
    59     bool
    60     prompt "2.7 (OBSOLETE)"
    61     depends on OBSOLETE
    62 
    63 config LIBC_GLIBC_V_2_6_1
    64     bool
    65     prompt "2.6.1 (OBSOLETE)"
    66     depends on OBSOLETE
    67 
    68 config LIBC_GLIBC_V_2_6
    69     bool
    70     prompt "2.6 (OBSOLETE)"
    71     depends on OBSOLETE
    72 
    73 config LIBC_GLIBC_V_2_5_1
    74     bool
    75     prompt "2.5.1 (OBSOLETE)"
    76     depends on OBSOLETE
    77     select LIBC_SUPPORT_LINUXTHREADS
    78 
    79 config LIBC_GLIBC_V_2_5
    80     bool
    81     prompt "2.5 (OBSOLETE)"
    82     depends on OBSOLETE
    83     select LIBC_SUPPORT_LINUXTHREADS
    84 
    85 endchoice
    86 
    87 config LIBC_VERSION
    88     string
    89 # Don't remove next line
    90 # CT_INSERT_VERSION_STRING_BELOW
    91     default "2.14.1" if LIBC_GLIBC_V_2_14_1
    92     default "2.14" if LIBC_GLIBC_V_2_14
    93     default "2.13" if LIBC_GLIBC_V_2_13
    94     default "2.12.2" if LIBC_GLIBC_V_2_12_2
    95     default "2.12.1" if LIBC_GLIBC_V_2_12_1
    96     default "2.11.1" if LIBC_GLIBC_V_2_11_1
    97     default "2.11" if LIBC_GLIBC_V_2_11
    98     default "2.10.1" if LIBC_GLIBC_V_2_10_1
    99     default "2.9" if LIBC_GLIBC_V_2_9
   100     default "2.8" if LIBC_GLIBC_V_2_8
   101     default "2.7" if LIBC_GLIBC_V_2_7
   102     default "2.6.1" if LIBC_GLIBC_V_2_6_1
   103     default "2.6" if LIBC_GLIBC_V_2_6
   104     default "2.5.1" if LIBC_GLIBC_V_2_5_1
   105     default "2.5" if LIBC_GLIBC_V_2_5