config/libc_glibc.in
changeset 1 eeea35fbf182
child 16 ba927c7db679
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/libc_glibc.in	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,199 @@
     1.4 +# glibc options
     1.5 +
     1.6 +choice
     1.7 +    bool
     1.8 +    prompt "glibc version"
     1.9 +
    1.10 +config LIBC_V_1_09_1
    1.11 +    bool
    1.12 +    prompt "1.09.1"
    1.13 +
    1.14 +config LIBC_V_2_0_1
    1.15 +    bool
    1.16 +    prompt "2.0.1"
    1.17 +
    1.18 +config LIBC_V_2_0_6
    1.19 +    bool
    1.20 +    prompt "2.0.6"
    1.21 +
    1.22 +config LIBC_V_2_1_1
    1.23 +    bool
    1.24 +    prompt "2.1.1"
    1.25 +
    1.26 +config LIBC_V_2_1_2
    1.27 +    bool
    1.28 +    prompt "2.1.2"
    1.29 +
    1.30 +config LIBC_V_2_1_3
    1.31 +    bool
    1.32 +    prompt "2.1.3"
    1.33 +
    1.34 +config LIBC_V_2_2
    1.35 +    bool
    1.36 +    prompt "2.2"
    1.37 +
    1.38 +config LIBC_V_2_2_1
    1.39 +    bool
    1.40 +    prompt "2.2.1"
    1.41 +
    1.42 +config LIBC_V_2_2_2
    1.43 +    bool
    1.44 +    prompt "2.2.2"
    1.45 +
    1.46 +config LIBC_V_2_2_3
    1.47 +    bool
    1.48 +    prompt "2.2.3"
    1.49 +
    1.50 +config LIBC_V_2_2_4
    1.51 +    bool
    1.52 +    prompt "2.2.4"
    1.53 +
    1.54 +config LIBC_V_2_2_5
    1.55 +    bool
    1.56 +    prompt "2.2.5"
    1.57 +
    1.58 +config LIBC_V_2_3
    1.59 +    bool
    1.60 +    prompt "2.3"
    1.61 +
    1.62 +config LIBC_V_2_3_1
    1.63 +    bool
    1.64 +    prompt "2.3.1"
    1.65 +
    1.66 +config LIBC_V_2_3_2
    1.67 +    bool
    1.68 +    prompt "2.3.2"
    1.69 +
    1.70 +config LIBC_V_2_3_3
    1.71 +    bool
    1.72 +    prompt "2.3.3"
    1.73 +
    1.74 +config LIBC_V_2_3_4
    1.75 +    bool
    1.76 +    prompt "2.3.4"
    1.77 +
    1.78 +config LIBC_V_2_3_5
    1.79 +    bool
    1.80 +    prompt "2.3.5"
    1.81 +
    1.82 +config LIBC_V_2_3_6
    1.83 +    bool
    1.84 +    prompt "2.3.6"
    1.85 +
    1.86 +config LIBC_V_2_4
    1.87 +    bool
    1.88 +    prompt "2.4"
    1.89 +
    1.90 +config LIBC_V_2_5
    1.91 +    bool
    1.92 +    prompt "2.5"
    1.93 +
    1.94 +# CT_INSERT_VERSION_ABOVE
    1.95 +# Don't remove qbove line!
    1.96 +endchoice
    1.97 +
    1.98 +config LIBC_VERSION
    1.99 +    string
   1.100 +    default "1.09.1" if LIBC_V_1_09_1
   1.101 +    default "2.0.1" if LIBC_V_2_0_1
   1.102 +    default "2.0.6" if LIBC_V_2_0_6
   1.103 +    default "2.1.1" if LIBC_V_2_1_1
   1.104 +    default "2.1.2" if LIBC_V_2_1_2
   1.105 +    default "2.1.3" if LIBC_V_2_1_3
   1.106 +    default "2.2" if LIBC_V_2_2
   1.107 +    default "2.2.1" if LIBC_V_2_2_1
   1.108 +    default "2.2.2" if LIBC_V_2_2_2
   1.109 +    default "2.2.3" if LIBC_V_2_2_3
   1.110 +    default "2.2.4" if LIBC_V_2_2_4
   1.111 +    default "2.2.5" if LIBC_V_2_2_5
   1.112 +    default "2.3" if LIBC_V_2_3
   1.113 +    default "2.3.1" if LIBC_V_2_3_1
   1.114 +    default "2.3.2" if LIBC_V_2_3_2
   1.115 +    default "2.3.3" if LIBC_V_2_3_3
   1.116 +    default "2.3.4" if LIBC_V_2_3_4
   1.117 +    default "2.3.5" if LIBC_V_2_3_5
   1.118 +    default "2.3.6" if LIBC_V_2_3_6
   1.119 +    default "2.4" if LIBC_V_2_4
   1.120 +    default "2.5" if LIBC_V_2_5
   1.121 +# CT_INSERT_VERSION_STRING_ABOVE
   1.122 +# Don't remove above line!
   1.123 +
   1.124 +choice
   1.125 +    bool
   1.126 +    prompt "Threading implentation to use:"
   1.127 +    default LIBC_GLIBC_THREADS_LINUXTHREADS
   1.128 +
   1.129 +config LIBC_GLIBC_THREADS_NPTL
   1.130 +    bool
   1.131 +    prompt "nptl (not implemented)"
   1.132 +
   1.133 +config LIBC_GLIBC_THREADS_LINUXTHREADS
   1.134 +    bool
   1.135 +    prompt "linuxthreads"
   1.136 +
   1.137 +config LIBC_GLIBC_THREADS_NONE
   1.138 +    bool
   1.139 +    prompt "none"
   1.140 +
   1.141 +endchoice
   1.142 +
   1.143 +config LIBC_GLIBC_EXTRA_CONFIG
   1.144 +    string
   1.145 +    prompt "glibc extra config"
   1.146 +    default ""
   1.147 +    help
   1.148 +      Extra flags to pass onto ./configure when configuring glibc.
   1.149 +
   1.150 +      Eg.: --enable-static-nss
   1.151 +
   1.152 +config LIBC_GLIBC_EXTRA_CFLAGS
   1.153 +    string
   1.154 +    prompt "glibc extra target CFLAGS"
   1.155 +    default ""
   1.156 +    help
   1.157 +      Extra target CFLAGS to use when building glibc.
   1.158 +
   1.159 +config LIBC_EXTRA_CC_ARGS
   1.160 +    string
   1.161 +    prompt "gcc extra flags"
   1.162 +    default ""
   1.163 +    help
   1.164 +      Extra flags to pass gcc when building glibc.
   1.165 +
   1.166 +      Seldom used, except for sparc64 which seems to need the flag -64
   1.167 +      to be passed onto gcc.
   1.168 +
   1.169 +# Please note: This is not used for now (no sh support).
   1.170 +config LIBC_GLIBC_CONFIGPARMS
   1.171 +    string
   1.172 +    prompt "Extra config params (READ HELP)"
   1.173 +    default "" if ARCH != "sh3" && ARCH != "sh4"
   1.174 +    default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
   1.175 +    help
   1.176 +      Some architectures need to set options in the file configparms.
   1.177 +      This is the case for sh3/4, which really need to set configparms as of
   1.178 +      gcc-3.4/glibc-2.3.2.
   1.179 +
   1.180 +      Unless you are building a toolchain for sh3/4, you should leave that empty.
   1.181 +
   1.182 +      Note: this is awkward, doesn't work well if you need more than one
   1.183 +            line in configparms
   1.184 +
   1.185 +config LIBC_ADDONS
   1.186 +    bool
   1.187 +    prompt "Pass extra addons list"
   1.188 +    default n
   1.189 +    help
   1.190 +      If you say Y here, you'll be able to give the list of addons you want to
   1.191 +      include in your C library.
   1.192 +
   1.193 +config LIBC_ADDONS_LIST
   1.194 +    string
   1.195 +    prompt "Extra addons"
   1.196 +    default ""
   1.197 +    help
   1.198 +      Extra addons to include in glibc.
   1.199 +      
   1.200 +      Eg.: crypt        (for very old glibces)
   1.201 +           ports        (for the ports addon, with other architectures)
   1.202 +           linuxthreads (for the linuxthreads implementation of threads)