config/libc/eglibc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Dec 26 11:53:05 2012 +0100 (2012-12-26)
changeset 3142 6569f6a9060c
parent 3131 bd172b161ff8
child 3144 481658dd0e7f
permissions -rw-r--r--
all: remove versions marked obsolete

For major components, keep the latest version of each major releases.

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