config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 26 12:15:10 2012 +0100 (2012-12-26)
changeset 3144 481658dd0e7f
parent 3142 6569f6a9060c
child 3145 598880dab0f3
permissions -rw-r--r--
libc/eglibc: remove now superfluous config knobs

All eglibc versions we now have support pkgversion and bugurl.

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