config/libc_uClibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue May 08 17:48:32 2007 +0000 (2007-05-08)
changeset 78 c3868084d81a
parent 60 6c5af708d80e
child 330 447b203edc2e
permissions -rw-r--r--
Huge fixes to glibc build, so that we can build at least (and at last):
- use ports addon even when installing headers,
- use optimisation (-O) when installing headers, to avoid unnecessary warnings (thanks Robert P. J. DAY for pointing this out!),
- lowest kernel version to use is only X.Y.Z, not X.Y.Z.T,
- a bit of preparations for NPTL (RSN I hope),
- fix fixing the linker scripts (changing the backup file is kind of useless and stupid);

Shut uClibc finish step: there really is nothing to do;

Add a patch for glibc-2.3.6 weak aliases handling on some archs (ARM and ALPHA at least);

Did not catch the make errors: fixed the pattern matching in scripts/functions;

Introduce a new log level, ALL:
- send components' build messages there,
- DEBUG log level is destined only for crosstool-NG debug messages,
- migrate sub-actions to use appropriate log levels;

Update the armeb-unknown-linux-gnu sample:
- it builds!
- uses gcc-4.0.4 and glibc-2.3.6,
- updated to latest config options set.
     1 # uClibc options
     2 
     3 choice
     4     bool
     5     prompt "uClibc version"
     6 
     7 config LIBC_V_snapshot
     8     bool
     9     prompt "latest snapshot"
    10 
    11 config LIBC_V_specific_date
    12     bool
    13     prompt "<specific date>"
    14 
    15 config LIBC_V_0_9_26
    16     bool
    17     prompt "0.9.26"
    18     depends on OBSOLETE
    19 
    20 config LIBC_V_0_9_27
    21     bool
    22     prompt "0.9.27"
    23     depends on OBSOLETE
    24 
    25 config LIBC_V_0_9_28
    26     bool
    27     prompt "0.9.28"
    28     depends on OBSOLETE
    29 
    30 config LIBC_V_0_9_28_1
    31     bool
    32     prompt "0.9.28.1"
    33     depends on OBSOLETE
    34 
    35 config LIBC_V_0_9_28_2
    36     bool
    37     prompt "0.9.28.2"
    38     depends on OBSOLETE
    39 
    40 config LIBC_V_0_9_28_3
    41     bool
    42     prompt "0.9.28.3"
    43 
    44 config LIBC_V_0_9_29
    45     bool
    46     prompt "0.9.29"
    47 
    48 # CT_INSERT_VERSION_ABOVE
    49 # Don't remove above line!
    50 endchoice
    51 
    52 config LIBC_VERSION
    53     string
    54     prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
    55     default "snapshot" if LIBC_V_snapshot
    56     default "0.9.26" if LIBC_V_0_9_26
    57     default "0.9.27" if LIBC_V_0_9_27
    58     default "0.9.28" if LIBC_V_0_9_28
    59     default "0.9.28.1" if LIBC_V_0_9_28_1
    60     default "0.9.28.2" if LIBC_V_0_9_28_2
    61     default "0.9.28.3" if LIBC_V_0_9_28_3
    62     default "0.9.29" if LIBC_V_0_9_29
    63 # CT_INSERT_VERSION_STRING_ABOVE
    64 # Don't remove above line!
    65 
    66 choice
    67     bool
    68     prompt "Debug level"
    69     default LIBC_UCLIBC_DEBUG_LEVEL_0
    70 
    71 config LIBC_UCLIBC_DEBUG_LEVEL_0
    72     bool
    73     prompt "none"
    74 
    75 config LIBC_UCLIBC_DEBUG_LEVEL_1
    76     bool
    77     prompt "minimal"
    78 
    79 config LIBC_UCLIBC_DEBUG_LEVEL_2
    80     bool
    81     prompt "all"
    82 
    83 endchoice
    84 
    85 config LIBC_UCLIBC_DEBUG_LEVEL
    86     int
    87     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
    88     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
    89     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
    90 
    91 config LIBC_UCLIBC_CONFIG_FILE
    92     string
    93     prompt "Configuration file"
    94     default ""
    95     help
    96       Path to the configuration file.
    97       
    98       You _must_ provide one (for now).
    99 
   100 config LIBC_UCLIBC_LOCALES
   101     bool
   102     prompt "Add support for locales"
   103     default n
   104     help
   105       Say y if you want uClibc to support localisation.
   106 
   107       Note that seems to be broken on recent uClibc releases.