config/libc/glibc.in
changeset 448 08da017ba46b
child 710 021546adce69
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/libc/glibc.in	Thu Apr 17 21:04:23 2008 +0000
     1.3 @@ -0,0 +1,124 @@
     1.4 +# glibc options
     1.5 +
     1.6 +choice
     1.7 +    bool
     1.8 +    prompt "glibc version"
     1.9 +
    1.10 +config LIBC_V_2_3_6
    1.11 +    bool
    1.12 +    prompt "2.3.6 (OBSOLETE)"
    1.13 +    depends on OBSOLETE
    1.14 +
    1.15 +config LIBC_V_2_5
    1.16 +    bool
    1.17 +    prompt "2.5"
    1.18 +
    1.19 +config LIBC_V_2_5_1
    1.20 +    bool
    1.21 +    prompt "2.5.1"
    1.22 +
    1.23 +config LIBC_V_2_6
    1.24 +    bool
    1.25 +    prompt "2.6"
    1.26 +
    1.27 +config LIBC_V_2_6_1
    1.28 +    bool
    1.29 +    prompt "2.6.1"
    1.30 +
    1.31 +config LIBC_V_2_7
    1.32 +    bool
    1.33 +    prompt "2.7"
    1.34 +    depends on EXPERIMENTAL
    1.35 +
    1.36 +# CT_INSERT_VERSION_ABOVE
    1.37 +# Don't remove above line!
    1.38 +endchoice
    1.39 +
    1.40 +config LIBC_VERSION
    1.41 +    string
    1.42 +    default "2.3.6" if LIBC_V_2_3_6
    1.43 +    default "2.4" if LIBC_V_2_4
    1.44 +    default "2.5" if LIBC_V_2_5
    1.45 +    default "2.5.1" if LIBC_V_2_5_1
    1.46 +    default "2.6" if LIBC_V_2_6
    1.47 +    default "2.6.1" if LIBC_V_2_6_1
    1.48 +    default "2.7" if LIBC_V_2_7
    1.49 +# CT_INSERT_VERSION_STRING_ABOVE
    1.50 +# Don't remove above line!
    1.51 +
    1.52 +config LIBC_GLIBC_EXTRA_CONFIG
    1.53 +    string
    1.54 +    prompt "glibc extra config"
    1.55 +    default ""
    1.56 +    help
    1.57 +      Extra flags to pass onto ./configure when configuring glibc.
    1.58 +
    1.59 +      Eg.: --enable-static-nss
    1.60 +
    1.61 +config LIBC_GLIBC_EXTRA_CFLAGS
    1.62 +    string
    1.63 +    prompt "glibc extra target CFLAGS"
    1.64 +    default ""
    1.65 +    help
    1.66 +      Extra target CFLAGS to use when building glibc.
    1.67 +
    1.68 +config LIBC_EXTRA_CC_ARGS
    1.69 +    string
    1.70 +    prompt "gcc extra flags"
    1.71 +    default ""
    1.72 +    help
    1.73 +      Extra flags to pass gcc when building glibc.
    1.74 +
    1.75 +      Seldom used, except for sparc64 which seems to need the flag -64
    1.76 +      to be passed onto gcc.
    1.77 +
    1.78 +# Please note: This is not used for now (no sh support).
    1.79 +config LIBC_GLIBC_CONFIGPARMS
    1.80 +    string
    1.81 +    prompt "Extra config params (READ HELP)"
    1.82 +    default "" if ARCH != "sh3" && ARCH != "sh4"
    1.83 +    default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4"
    1.84 +    help
    1.85 +      Some architectures need to set options in the file configparms.
    1.86 +      This is the case for sh3/4, which really need to set configparms as of
    1.87 +      gcc-3.4/glibc-2.3.2.
    1.88 +
    1.89 +      Unless you are building a toolchain for sh3/4, you should leave that empty.
    1.90 +
    1.91 +      Note: this is awkward, doesn't work well if you need more than one
    1.92 +            line in configparms
    1.93 +
    1.94 +config LIBC_GLIBC_USE_PORTS
    1.95 +    bool
    1.96 +    prompt "Use the ports addon"
    1.97 +    default n
    1.98 +    help
    1.99 +      The ports addon contains some architecture ports that are not available
   1.100 +      in the official glibc distribution.
   1.101 +      
   1.102 +      For example, this is the case for ARM with glibc >= 2.4
   1.103 +      
   1.104 +      Say n only if you're sure that your architecture is in the official
   1.105 +      glibc distribution for your chosen version.
   1.106 +
   1.107 +config LIBC_ADDONS
   1.108 +    bool
   1.109 +    prompt "Pass extra addons list"
   1.110 +    default n
   1.111 +    help
   1.112 +      If you say Y here, you'll be able to give the list of addons you want to
   1.113 +      include in your C library.
   1.114 +
   1.115 +config LIBC_ADDONS_LIST
   1.116 +    string
   1.117 +    prompt "Extra addons"
   1.118 +    default ""
   1.119 +    depends on LIBC_ADDONS
   1.120 +    help
   1.121 +      Extra addons to include in glibc. Space separated list.
   1.122 +
   1.123 +      You need to specify neither linuxthreads nor nptl, as they are added
   1.124 +      automagically for you depending on the threading model you choosed
   1.125 +      earlier.
   1.126 +      
   1.127 +      Eg.: crypt        (for very old glibces)