config/libc_glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue May 22 20:36:44 2007 +0000 (2007-05-22)
changeset 117 80c4338ec0a0
parent 75 56db62f2932a
child 136 22b5ef41df97
permissions -rw-r--r--
Only prompt for libfloat for those target that support it.
     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 config LIBC_GLIBC_EXTRA_CONFIG
   140     string
   141     prompt "glibc extra config"
   142     default ""
   143     help
   144       Extra flags to pass onto ./configure when configuring glibc.
   145 
   146       Eg.: --enable-static-nss
   147 
   148 config LIBC_GLIBC_EXTRA_CFLAGS
   149     string
   150     prompt "glibc extra target CFLAGS"
   151     default ""
   152     help
   153       Extra target CFLAGS to use when building glibc.
   154 
   155 config LIBC_EXTRA_CC_ARGS
   156     string
   157     prompt "gcc extra flags"
   158     default ""
   159     help
   160       Extra flags to pass gcc when building glibc.
   161 
   162       Seldom used, except for sparc64 which seems to need the flag -64
   163       to be passed onto gcc.
   164 
   165 # Please note: This is not used for now (no sh support).
   166 config LIBC_GLIBC_CONFIGPARMS
   167     string
   168     prompt "Extra config params (READ HELP)"
   169     default "" if ARCH != "sh3" && ARCH != "sh4"
   170     default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
   171     help
   172       Some architectures need to set options in the file configparms.
   173       This is the case for sh3/4, which really need to set configparms as of
   174       gcc-3.4/glibc-2.3.2.
   175 
   176       Unless you are building a toolchain for sh3/4, you should leave that empty.
   177 
   178       Note: this is awkward, doesn't work well if you need more than one
   179             line in configparms
   180 
   181 config LIBC_GLIBC_USE_PORTS
   182     bool
   183     prompt "Use the ports addon"
   184     default y
   185     help
   186       The ports addon contains some architecture ports that are not available
   187       in the official glibc distribution.
   188       
   189       For example, this is the case for ARM with glibc >= 2.4
   190       
   191       Say n only if you're sure that your architecture is in the official
   192       glibc distribution for your chosen version.
   193 
   194 config LIBC_ADDONS
   195     bool
   196     prompt "Pass extra addons list"
   197     default n
   198     help
   199       If you say Y here, you'll be able to give the list of addons you want to
   200       include in your C library.
   201 
   202 config LIBC_ADDONS_LIST
   203     string
   204     prompt "Extra addons"
   205     default ""
   206     depends on LIBC_ADDONS
   207     help
   208       Extra addons to include in glibc.
   209       
   210       Eg.: crypt        (for very old glibces)
   211            linuxthreads (for the linuxthreads implementation of threads)