config/libc_glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun May 06 13:42:10 2007 +0000 (2007-05-06)
changeset 61 1207acb66003
parent 22 3b50052c0586
child 75 56db62f2932a
permissions -rw-r--r--
Introduce an OBSOLETE config option, to mask-out legacy stuff.
     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 # CT_INSERT_VERSION_ABOVE
   110 # Don't remove above line!
   111 endchoice
   112 
   113 config LIBC_VERSION
   114     string
   115     default "1.09.1" if LIBC_V_1_09_1
   116     default "2.0.1" if LIBC_V_2_0_1
   117     default "2.0.6" if LIBC_V_2_0_6
   118     default "2.1.1" if LIBC_V_2_1_1
   119     default "2.1.2" if LIBC_V_2_1_2
   120     default "2.1.3" if LIBC_V_2_1_3
   121     default "2.2" if LIBC_V_2_2
   122     default "2.2.1" if LIBC_V_2_2_1
   123     default "2.2.2" if LIBC_V_2_2_2
   124     default "2.2.3" if LIBC_V_2_2_3
   125     default "2.2.4" if LIBC_V_2_2_4
   126     default "2.2.5" if LIBC_V_2_2_5
   127     default "2.3" if LIBC_V_2_3
   128     default "2.3.1" if LIBC_V_2_3_1
   129     default "2.3.2" if LIBC_V_2_3_2
   130     default "2.3.3" if LIBC_V_2_3_3
   131     default "2.3.4" if LIBC_V_2_3_4
   132     default "2.3.5" if LIBC_V_2_3_5
   133     default "2.3.6" if LIBC_V_2_3_6
   134     default "2.4" if LIBC_V_2_4
   135     default "2.5" if LIBC_V_2_5
   136 # CT_INSERT_VERSION_STRING_ABOVE
   137 # Don't remove above line!
   138 
   139 choice
   140     bool
   141     prompt "Threading implentation to use:"
   142     default LIBC_GLIBC_THREADS_LINUXTHREADS
   143 
   144 config LIBC_GLIBC_THREADS_NPTL
   145     bool
   146     prompt "nptl (not implemented)"
   147 
   148 config LIBC_GLIBC_THREADS_LINUXTHREADS
   149     bool
   150     prompt "linuxthreads"
   151 
   152 config LIBC_GLIBC_THREADS_NONE
   153     bool
   154     prompt "none"
   155 
   156 endchoice
   157 
   158 config LIBC_GLIBC_EXTRA_CONFIG
   159     string
   160     prompt "glibc extra config"
   161     default ""
   162     help
   163       Extra flags to pass onto ./configure when configuring glibc.
   164 
   165       Eg.: --enable-static-nss
   166 
   167 config LIBC_GLIBC_EXTRA_CFLAGS
   168     string
   169     prompt "glibc extra target CFLAGS"
   170     default ""
   171     help
   172       Extra target CFLAGS to use when building glibc.
   173 
   174 config LIBC_EXTRA_CC_ARGS
   175     string
   176     prompt "gcc extra flags"
   177     default ""
   178     help
   179       Extra flags to pass gcc when building glibc.
   180 
   181       Seldom used, except for sparc64 which seems to need the flag -64
   182       to be passed onto gcc.
   183 
   184 # Please note: This is not used for now (no sh support).
   185 config LIBC_GLIBC_CONFIGPARMS
   186     string
   187     prompt "Extra config params (READ HELP)"
   188     default "" if ARCH != "sh3" && ARCH != "sh4"
   189     default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
   190     help
   191       Some architectures need to set options in the file configparms.
   192       This is the case for sh3/4, which really need to set configparms as of
   193       gcc-3.4/glibc-2.3.2.
   194 
   195       Unless you are building a toolchain for sh3/4, you should leave that empty.
   196 
   197       Note: this is awkward, doesn't work well if you need more than one
   198             line in configparms
   199 
   200 config LIBC_GLIBC_USE_PORTS
   201     bool
   202     prompt "Use the ports addon"
   203     default y
   204     help
   205       The ports addon contains some architecture ports that are not available
   206       in the official glibc distribution.
   207       
   208       For example, this is the case for ARM with glibc >= 2.4
   209       
   210       Say n only if you're sure that your architecture is in the official
   211       glibc distribution for your chosen version.
   212 
   213 config LIBC_ADDONS
   214     bool
   215     prompt "Pass extra addons list"
   216     default n
   217     help
   218       If you say Y here, you'll be able to give the list of addons you want to
   219       include in your C library.
   220 
   221 config LIBC_ADDONS_LIST
   222     string
   223     prompt "Extra addons"
   224     default ""
   225     depends on LIBC_ADDONS
   226     help
   227       Extra addons to include in glibc.
   228       
   229       Eg.: crypt        (for very old glibces)
   230            ports        (for the ports addon, with other architectures)
   231            linuxthreads (for the linuxthreads implementation of threads)