config/libc/eglibc.in
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Tue May 31 16:27:39 2011 +0200 (2011-05-31)
changeset 2484 d1a8c2ae7946
parent 2444 896cb0d36c1a
child 2489 b7c9f410704f
permissions -rw-r--r--
kconfig: remove useless 'default n'

kconfig bools are disabled by default, so specifying 'default n' is useless and
noisy. This patch removes all occurrences of 'default n'.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
     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_13
    22     bool
    23     prompt "2_13"
    24     depends on EXPERIMENTAL
    25 
    26 config LIBC_EGLIBC_V_2_12
    27     bool
    28     prompt "2_12"
    29 
    30 config LIBC_EGLIBC_V_2_11
    31     bool
    32     prompt "2_11"
    33 
    34 config LIBC_EGLIBC_V_2_10
    35     bool
    36     prompt "2_10"
    37 
    38 config LIBC_EGLIBC_V_2_9
    39     bool
    40     prompt "2_9"
    41 
    42 config LIBC_EGLIBC_V_2_8
    43     bool
    44     prompt "2_8 (OBSOLETE)"
    45     depends on OBSOLETE
    46 
    47 config LIBC_EGLIBC_V_2_7
    48     bool
    49     prompt "2_7 (OBSOLETE)"
    50     depends on OBSOLETE
    51 
    52 config LIBC_EGLIBC_V_2_6
    53     bool
    54     prompt "2_6 (OBSOLETE)"
    55     depends on OBSOLETE
    56 
    57 config LIBC_EGLIBC_V_2_5
    58     bool
    59     prompt "2_5 (OBSOLETE)"
    60     depends on OBSOLETE
    61 
    62 config LIBC_EGLIBC_V_TRUNK
    63     bool
    64     prompt "'trunk'"
    65     help
    66       Selecting this will export the trunk of the eglibc subversion repository.
    67 
    68 endchoice
    69 
    70 config LIBC_VERSION
    71     string
    72 # Don't remove next line
    73 # CT_INSERT_VERSION_STRING_BELOW
    74     default "2_13" if LIBC_EGLIBC_V_2_13
    75     default "2_12" if LIBC_EGLIBC_V_2_12
    76     default "2_11" if LIBC_EGLIBC_V_2_11
    77     default "2_10" if LIBC_EGLIBC_V_2_10
    78     default "2_9" if LIBC_EGLIBC_V_2_9
    79     default "2_8" if LIBC_EGLIBC_V_2_8
    80     default "2_7" if LIBC_EGLIBC_V_2_7
    81     default "2_6" if LIBC_EGLIBC_V_2_6
    82     default "2_5" if LIBC_EGLIBC_V_2_5
    83     default "trunk" if LIBC_EGLIBC_V_TRUNK
    84 
    85 config EGLIBC_REVISION
    86     string
    87     prompt "Revision to use"
    88     default "HEAD"
    89     help
    90       Enter the revision of trunk you want to use.
    91       Default is HEAD.
    92       
    93       A revision argument can be one of:
    94           NUMBER       revision number
    95           '{' DATE '}' revision at start of the date (*)
    96           'HEAD'       latest in repository
    97       
    98       (*) If you want to use a date, please use ISO-8601 formats if
    99           at all possible.
   100 
   101 config EGLIBC_CHECKOUT
   102     bool
   103     prompt "checkout instead of export"
   104     default y if LIBC_EGLIBC_V_TRUNK
   105     help
   106       By default, the eglibc download will be an export of the subversion
   107       repository. If you say 'y' here, then the repository will instead be
   108       checked-out, so that you can update it later.
   109       
   110       Note that crosstool-NG will *not* update your working copy, you will
   111       have to do that yourself.
   112 
   113 config EGLIBC_OPT_SIZE
   114     bool
   115     prompt "optimize eglibc for size (-Os)"
   116     help
   117       Optimize eglibc for size using -Os instead of -O2. This will make eglibc
   118       smaller but may make it slower.
   119 
   120 config EGLIBC_CUSTOM_CONFIG
   121     bool
   122     prompt "Use custom configuration file"
   123     help
   124       Use a custom configuration file to disable some features in the eglibc
   125       library. The configuration file options are described in detail in the
   126       option-groups.def file in the eglibc source directory.
   127 
   128 if EGLIBC_CUSTOM_CONFIG
   129     config EGLIBC_OPTION_GROUPS_FILE
   130         string
   131         prompt "Path to the option-groups configuration file"
   132         default ""
   133         help
   134           Path to the option groups configuration file.
   135 
   136     config EGLIBC_BUNDLED_NSS_CONFIG
   137         bool
   138         prompt "Use bundled NSS config file"
   139         default y
   140         help
   141           Use minimal nsswitch configuration file bundled in eglibc.
   142           This option is only meaningful when runtime nss configuration
   143           is disabled in the option groups file.
   144 
   145     config EGLIBC_NSS_CONFIG_FILE
   146         string
   147         prompt "Path to the NSS config file"
   148         default ""
   149         depends on !EGLIBC_BUNDLED_NSS_CONFIG
   150         help
   151           Path to the nsswitch configuration file
   152 
   153     config EGLIBC_BUNDLED_NSS_FUNCTIONS
   154         bool
   155         prompt "Use bundled NSS functions file"
   156         default y
   157         help
   158           Use minimal nsswitch functions file bundled in eglibc.
   159           This option is only meaningful when runtime nss configuration
   160           is disabled in the option groups file.
   161 
   162     config EGLIBC_NSS_FUNCTIONS_FILE
   163         string
   164         prompt "Path to the NSS functions file"
   165         default ""
   166         depends on !EGLIBC_BUNDLED_NSS_FUNCTIONS
   167         help
   168           Path to the nsswitch functions file
   169 endif