config/libc_glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Aug 11 10:57:18 2007 +0000 (2007-08-11)
changeset 323 90fefc8790fb
parent 142 471ded821b6c
child 330 447b203edc2e
permissions -rw-r--r--
Add glibc: 2.5.1 - 2.6 - 2.6.1.
Apply the same patches as glibc 2.5: they apply without any problem (except for ridiculously small offsets).
     1 # glibc options
     2 
     3 choice
     4     bool
     5     prompt "glibc version"
     6 
     7 config LIBC_V_1_09_1
     8     bool
     9     prompt "1.09.1"
    10     depends on OBSOLETE
    11 
    12 config LIBC_V_2_0_1
    13     bool
    14     prompt "2.0.1"
    15     depends on OBSOLETE
    16 
    17 config LIBC_V_2_0_6
    18     bool
    19     prompt "2.0.6"
    20     depends on OBSOLETE
    21 
    22 config LIBC_V_2_1_1
    23     bool
    24     prompt "2.1.1"
    25     depends on OBSOLETE
    26 
    27 config LIBC_V_2_1_2
    28     bool
    29     prompt "2.1.2"
    30     depends on OBSOLETE
    31 
    32 config LIBC_V_2_1_3
    33     bool
    34     prompt "2.1.3"
    35     depends on OBSOLETE
    36 
    37 config LIBC_V_2_2
    38     bool
    39     prompt "2.2"
    40     depends on OBSOLETE
    41 
    42 config LIBC_V_2_2_1
    43     bool
    44     prompt "2.2.1"
    45     depends on OBSOLETE
    46 
    47 config LIBC_V_2_2_2
    48     bool
    49     prompt "2.2.2"
    50     depends on OBSOLETE
    51 
    52 config LIBC_V_2_2_3
    53     bool
    54     prompt "2.2.3"
    55     depends on OBSOLETE
    56 
    57 config LIBC_V_2_2_4
    58     bool
    59     prompt "2.2.4"
    60     depends on OBSOLETE
    61 
    62 config LIBC_V_2_2_5
    63     bool
    64     prompt "2.2.5"
    65     depends on OBSOLETE
    66 
    67 config LIBC_V_2_3
    68     bool
    69     prompt "2.3"
    70     depends on OBSOLETE
    71 
    72 config LIBC_V_2_3_1
    73     bool
    74     prompt "2.3.1"
    75     depends on OBSOLETE
    76 
    77 config LIBC_V_2_3_2
    78     bool
    79     prompt "2.3.2"
    80     depends on OBSOLETE
    81 
    82 config LIBC_V_2_3_3
    83     bool
    84     prompt "2.3.3"
    85     depends on OBSOLETE
    86 
    87 config LIBC_V_2_3_4
    88     bool
    89     prompt "2.3.4"
    90     depends on OBSOLETE
    91 
    92 config LIBC_V_2_3_5
    93     bool
    94     prompt "2.3.5"
    95     depends on OBSOLETE
    96 
    97 config LIBC_V_2_3_6
    98     bool
    99     prompt "2.3.6"
   100 
   101 config LIBC_V_2_4
   102     bool
   103     prompt "2.4"
   104 
   105 config LIBC_V_2_5
   106     bool
   107     prompt "2.5"
   108 
   109 config LIBC_V_2_5_1
   110     bool
   111     prompt "2.5.1 (EXPERIMENTAL)"
   112     depends on EXPERIMENTAL
   113 
   114 config LIBC_V_2_6
   115     bool
   116     prompt "2.6 (EXPERIMENTAL)"
   117     depends on EXPERIMENTAL
   118 
   119 config LIBC_V_2_6_1
   120     bool
   121     prompt "2.6.1 (EXPERIMENTAL)"
   122     depends on EXPERIMENTAL
   123 
   124 # CT_INSERT_VERSION_ABOVE
   125 # Don't remove above line!
   126 endchoice
   127 
   128 config LIBC_VERSION
   129     string
   130     default "1.09.1" if LIBC_V_1_09_1
   131     default "2.0.1" if LIBC_V_2_0_1
   132     default "2.0.6" if LIBC_V_2_0_6
   133     default "2.1.1" if LIBC_V_2_1_1
   134     default "2.1.2" if LIBC_V_2_1_2
   135     default "2.1.3" if LIBC_V_2_1_3
   136     default "2.2" if LIBC_V_2_2
   137     default "2.2.1" if LIBC_V_2_2_1
   138     default "2.2.2" if LIBC_V_2_2_2
   139     default "2.2.3" if LIBC_V_2_2_3
   140     default "2.2.4" if LIBC_V_2_2_4
   141     default "2.2.5" if LIBC_V_2_2_5
   142     default "2.3" if LIBC_V_2_3
   143     default "2.3.1" if LIBC_V_2_3_1
   144     default "2.3.2" if LIBC_V_2_3_2
   145     default "2.3.3" if LIBC_V_2_3_3
   146     default "2.3.4" if LIBC_V_2_3_4
   147     default "2.3.5" if LIBC_V_2_3_5
   148     default "2.3.6" if LIBC_V_2_3_6
   149     default "2.4" if LIBC_V_2_4
   150     default "2.5" if LIBC_V_2_5
   151     default "2.5.1" if LIBC_V_2_5_1
   152     default "2.6" if LIBC_V_2_6
   153     default "2.6.1" if LIBC_V_2_6_1
   154 # CT_INSERT_VERSION_STRING_ABOVE
   155 # Don't remove above line!
   156 
   157 config LIBC_GLIBC_EXTRA_CONFIG
   158     string
   159     prompt "glibc extra config"
   160     default ""
   161     help
   162       Extra flags to pass onto ./configure when configuring glibc.
   163 
   164       Eg.: --enable-static-nss
   165 
   166 config LIBC_GLIBC_EXTRA_CFLAGS
   167     string
   168     prompt "glibc extra target CFLAGS"
   169     default ""
   170     help
   171       Extra target CFLAGS to use when building glibc.
   172 
   173 config LIBC_EXTRA_CC_ARGS
   174     string
   175     prompt "gcc extra flags"
   176     default ""
   177     help
   178       Extra flags to pass gcc when building glibc.
   179 
   180       Seldom used, except for sparc64 which seems to need the flag -64
   181       to be passed onto gcc.
   182 
   183 # Please note: This is not used for now (no sh support).
   184 config LIBC_GLIBC_CONFIGPARMS
   185     string
   186     prompt "Extra config params (READ HELP)"
   187     default "" if ARCH != "sh3" && ARCH != "sh4"
   188     default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
   189     help
   190       Some architectures need to set options in the file configparms.
   191       This is the case for sh3/4, which really need to set configparms as of
   192       gcc-3.4/glibc-2.3.2.
   193 
   194       Unless you are building a toolchain for sh3/4, you should leave that empty.
   195 
   196       Note: this is awkward, doesn't work well if you need more than one
   197             line in configparms
   198 
   199 config LIBC_GLIBC_USE_PORTS
   200     bool
   201     prompt "Use the ports addon"
   202     default n
   203     help
   204       The ports addon contains some architecture ports that are not available
   205       in the official glibc distribution.
   206       
   207       For example, this is the case for ARM with glibc >= 2.4
   208       
   209       Say n only if you're sure that your architecture is in the official
   210       glibc distribution for your chosen version.
   211 
   212 config LIBC_ADDONS
   213     bool
   214     prompt "Pass extra addons list"
   215     default n
   216     help
   217       If you say Y here, you'll be able to give the list of addons you want to
   218       include in your C library.
   219 
   220 config LIBC_ADDONS_LIST
   221     string
   222     prompt "Extra addons"
   223     default ""
   224     depends on LIBC_ADDONS
   225     help
   226       Extra addons to include in glibc. Space separated list.
   227 
   228       You need to specify neither linuxthreads nor nptl, as they are added
   229       automagically for you depending on the threading model you choosed
   230       earlier.
   231       
   232       Eg.: crypt        (for very old glibces)