config/libc/eglibc.in
author Yann Diorcet <diorcet.yann@gmail.com>
Wed Nov 14 14:05:49 2012 +0100 (2012-11-14)
changeset 3112 6cb56b3f2d34
parent 3014 0f50dc396387
child 3131 bd172b161ff8
permissions -rw-r--r--
libc/mingw: replace mingw32 with generic mingw

Replace the 32-bit-only mingw32 with mingw-w64 that is capable
of building toolchains for both 32-bit and 64-bit Windows.

kernel/mingw: replace mingw32 with generic Windows
kernel/windows: New windows kernel supporting 32 and 64 bit arch
libc/mingw: Remove old options
patches: Remove old mingw libc options' patches

Signed-off-by: "Yann Diorcet" <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: array var in libc/mingw.sh, typos]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <b045ac08fc9eac2e5ee3.1352898499@blackmint>
Patchwork-Id: 198901
     1 # eglibc options
     2 
     3 ## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU
     4 ##
     5 ## select LIBC_SUPPORT_NPTL
     6 ## select LIBC_SUPPORT_LINUXTHREADS
     7 ##
     8 ## help EGLIBC (Embedded GLIBC) is a variant of the standard GNU GLIBC
     9 ## help that is designed to work well on embedded systems.  EGLIBC strives
    10 ## help to be source and binary compatible with GLIBC.  Its goals include
    11 ## help a reduced footprint, configurable components, and improved
    12 ## help cross-compilation support.  EGLIBC also includes some embedded ports
    13 ## help (such as e500/spe) that are normally separate add-ons of GLIBC.
    14 
    15 choice
    16     bool
    17     prompt "eglibc version"
    18 # Don't remove next line
    19 # CT_INSERT_VERSION_BELOW
    20 
    21 config LIBC_EGLIBC_V_2_16
    22     bool
    23     prompt "2_16"
    24     select LIBC_EGLIBC_2_16_or_later
    25 
    26 config LIBC_EGLIBC_V_2_15
    27     bool
    28     prompt "2_15"
    29     select LIBC_EGLIBC_2_15_or_later
    30 
    31 config LIBC_EGLIBC_V_2_14
    32     bool
    33     prompt "2_14"
    34     select LIBC_EGLIBC_2_14_or_later
    35 
    36 config LIBC_EGLIBC_V_2_13
    37     bool
    38     prompt "2_13"
    39     select LIBC_EGLIBC_2_13_or_later
    40 
    41 config LIBC_EGLIBC_V_2_12
    42     bool
    43     prompt "2_12"
    44     select LIBC_EGLIBC_2_12_or_later
    45 
    46 config LIBC_EGLIBC_V_2_11
    47     bool
    48     prompt "2_11"
    49     select LIBC_EGLIBC_2_11_or_later
    50 
    51 config LIBC_EGLIBC_V_2_10
    52     bool
    53     prompt "2_10"
    54     select LIBC_EGLIBC_2_10_or_later
    55 
    56 config LIBC_EGLIBC_V_2_9
    57     bool
    58     prompt "2_9"
    59     select LIBC_EGLIBC_2_9_or_later
    60 
    61 config LIBC_EGLIBC_V_2_8
    62     bool
    63     prompt "2_8 (OBSOLETE)"
    64     depends on OBSOLETE
    65 
    66 config LIBC_EGLIBC_V_2_7
    67     bool
    68     prompt "2_7 (OBSOLETE)"
    69     depends on OBSOLETE
    70 
    71 config LIBC_EGLIBC_V_2_6
    72     bool
    73     prompt "2_6 (OBSOLETE)"
    74     depends on OBSOLETE
    75 
    76 config LIBC_EGLIBC_V_2_5
    77     bool
    78     prompt "2_5 (OBSOLETE)"
    79     depends on OBSOLETE
    80 
    81 config LIBC_EGLIBC_V_TRUNK
    82     bool
    83     prompt "'trunk'"
    84     select LIBC_EGLIBC_2_14_or_later
    85     help
    86       Selecting this will export the trunk of the eglibc subversion repository.
    87 
    88 endchoice
    89 
    90 config LIBC_VERSION
    91     string
    92 # Don't remove next line
    93 # CT_INSERT_VERSION_STRING_BELOW
    94     default "2_16" if LIBC_EGLIBC_V_2_16
    95     default "2_15" if LIBC_EGLIBC_V_2_15
    96     default "2_14" if LIBC_EGLIBC_V_2_14
    97     default "2_13" if LIBC_EGLIBC_V_2_13
    98     default "2_12" if LIBC_EGLIBC_V_2_12
    99     default "2_11" if LIBC_EGLIBC_V_2_11
   100     default "2_10" if LIBC_EGLIBC_V_2_10
   101     default "2_9" if LIBC_EGLIBC_V_2_9
   102     default "2_8" if LIBC_EGLIBC_V_2_8
   103     default "2_7" if LIBC_EGLIBC_V_2_7
   104     default "2_6" if LIBC_EGLIBC_V_2_6
   105     default "2_5" if LIBC_EGLIBC_V_2_5
   106     default "trunk" if LIBC_EGLIBC_V_TRUNK
   107 
   108 config LIBC_EGLIBC_2_16_or_later
   109     bool
   110     select LIBC_EGLIBC_2_15_or_later
   111 
   112 config LIBC_EGLIBC_2_15_or_later
   113     bool
   114     select LIBC_EGLIBC_2_14_or_later
   115 
   116 config LIBC_EGLIBC_2_14_or_later
   117     bool
   118     select LIBC_EGLIBC_2_13_or_later
   119 
   120 config LIBC_EGLIBC_2_13_or_later
   121     bool
   122     select LIBC_EGLIBC_2_12_or_later
   123 
   124 config LIBC_EGLIBC_2_12_or_later
   125     bool
   126     select LIBC_EGLIBC_2_11_or_later
   127 
   128 config LIBC_EGLIBC_2_11_or_later
   129     bool
   130     select LIBC_EGLIBC_2_10_or_later
   131 
   132 config LIBC_EGLIBC_2_10_or_later
   133     bool
   134     select LIBC_EGLIBC_2_9_or_later
   135 
   136 config LIBC_EGLIBC_2_9_or_later
   137     bool
   138     select LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
   139 
   140 config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
   141     bool
   142 
   143 if CONFIGURE_has_svn
   144 
   145 config EGLIBC_REVISION
   146     string
   147     prompt "Revision to use"
   148     default "HEAD"
   149     help
   150       Enter the revision of trunk you want to use.
   151       Default is HEAD.
   152       
   153       A revision argument can be one of:
   154           NUMBER       revision number
   155           '{' DATE '}' revision at start of the date (*)
   156           'HEAD'       latest in repository
   157       
   158       (*) If you want to use a date, please use ISO-8601 formats if
   159           at all possible.
   160 
   161 config EGLIBC_HTTP
   162     bool
   163     prompt "use http:// instead of svn://"
   164     help
   165       By default, when eglibc is downloaded it is checked out using
   166       svn://svn.eglibc.org. This option allows you to download eglibc
   167       from http://www.eglibc.org, if you are behind a proxy or firewall.
   168       If you are behind a proxy, don't forget to update your
   169       .subversion/servers file with your proxy info in [global].
   170 
   171 config EGLIBC_CHECKOUT
   172     bool
   173     prompt "checkout instead of export"
   174     default y if LIBC_EGLIBC_V_TRUNK
   175     help
   176       By default, the eglibc download will be an export of the subversion
   177       repository. If you say 'y' here, then the repository will instead be
   178       checked-out, so that you can update it later.
   179       
   180       Note that crosstool-NG will *not* update your working copy, you will
   181       have to do that yourself.
   182 
   183 endif # ! CONFIGURE_has_svn
   184 if ! CONFIGURE_has_svn
   185 
   186 comment "svn is missing. You'll have to either:"
   187 comment "|  - have a pre-downloaded local tarball"
   188 comment "|  - or have a LAN mirror with a pre-downloaded tarball"
   189 comment "otherwise you won't be able to download eglibc"
   190 
   191 endif # ! CONFIGURE_has_svn
   192 
   193 config EGLIBC_OPT_SIZE
   194     bool
   195     prompt "optimize eglibc for size (-Os)"
   196     help
   197       Optimize eglibc for size using -Os instead of -O2. This will make eglibc
   198       smaller but may make it slower.
   199 
   200 config EGLIBC_CUSTOM_CONFIG
   201     bool
   202     prompt "Use custom configuration file"
   203     help
   204       Use a custom configuration file to disable some features in the eglibc
   205       library. The configuration file options are described in detail in the
   206       option-groups.def file in the eglibc source directory.
   207 
   208 if EGLIBC_CUSTOM_CONFIG
   209     config EGLIBC_OPTION_GROUPS_FILE
   210         string
   211         prompt "Path to the option-groups configuration file"
   212         default ""
   213         help
   214           Path to the option groups configuration file.
   215 
   216     config EGLIBC_BUNDLED_NSS_CONFIG
   217         bool
   218         prompt "Use bundled NSS config file"
   219         default y
   220         help
   221           Use minimal nsswitch configuration file bundled in eglibc.
   222           This option is only meaningful when runtime nss configuration
   223           is disabled in the option groups file.
   224 
   225     config EGLIBC_NSS_CONFIG_FILE
   226         string
   227         prompt "Path to the NSS config file"
   228         default ""
   229         depends on !EGLIBC_BUNDLED_NSS_CONFIG
   230         help
   231           Path to the nsswitch configuration file
   232 
   233     config EGLIBC_BUNDLED_NSS_FUNCTIONS
   234         bool
   235         prompt "Use bundled NSS functions file"
   236         default y
   237         help
   238           Use minimal nsswitch functions file bundled in eglibc.
   239           This option is only meaningful when runtime nss configuration
   240           is disabled in the option groups file.
   241 
   242     config EGLIBC_NSS_FUNCTIONS_FILE
   243         string
   244         prompt "Path to the NSS functions file"
   245         default ""
   246         depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
   247         help
   248           Path to the nsswitch functions file
   249 endif