config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sat Jul 14 18:25:47 2012 +0200 (2012-07-14)
changeset 2999 4ccfca658d9b
parent 2909 28ac8fbd9e6a
child 3014 0f50dc396387
permissions -rw-r--r--
configure: check for GNU awk, not any awk

Building glibc requires GNU awk, not any other.

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