config/libc/uClibc.in
author Titus von Boxberg <titus@v9g.de>
Tue Nov 06 17:02:06 2012 +0100 (2012-11-06)
changeset 3103 a8bf927f6e37
parent 3099 79169596cfc9
child 3112 6cb56b3f2d34
permissions -rw-r--r--
Makefile.in: Use only standard options compatible with BSD install

Don't use options specific to FSF's coreutils install.

Signed-off-by: Titus von Boxberg <titus@v9g.de>
Message-Id: <51587db99510a9ec08f8.1352226968@tschetwerikow.boxberg.lan>
Patchwork-Id: 197532
     1 # uClibc options
     2 
     3 ## depends on ! MINGW32 && ! BARE_METAL
     4 ##
     5 ## select LIBC_SUPPORT_LINUXTHREADS
     6 ## select LIBC_SUPPORT_THREADS_NONE
     7 ##
     8 ## help The de-facto standard for embeded linux systems.
     9 ## help
    10 ## help Highly configurable, thus as feature-rich as you
    11 ## help need, without compromising for size.
    12 
    13 if ARCH_FLOAT_SOFTFP
    14 comment "'softfp' ABI and uClibc is not entirely tested in crosstool-NG"
    15 comment "You may experience issues, although it should work just fine"
    16 endif # ARCH_FLOAT_SOFTFP
    17 
    18 choice
    19     bool
    20     prompt "uClibc version"
    21 # Don't remove next line
    22 # CT_INSERT_VERSION_BELOW
    23 
    24 config LIBC_UCLIBC_V_0_9_33_2
    25     bool
    26     prompt "0.9.33.2"
    27     select LIBC_UCLIBC_0_9_32_or_later
    28 
    29 config LIBC_UCLIBC_V_0_9_33_1
    30     bool
    31     prompt "0.9.33.1"
    32     select LIBC_UCLIBC_0_9_32_or_later
    33 
    34 config LIBC_UCLIBC_V_0_9_33
    35     bool
    36     prompt "0.9.33"
    37     select LIBC_UCLIBC_0_9_32_or_later
    38 
    39 config LIBC_UCLIBC_V_0_9_32_1
    40     bool
    41     prompt "0.9.32.1"
    42     select LIBC_UCLIBC_0_9_32_or_later
    43 
    44 config LIBC_UCLIBC_V_0_9_32
    45     bool
    46     prompt "0.9.32"
    47     select LIBC_UCLIBC_0_9_32_or_later
    48 
    49 config LIBC_UCLIBC_V_0_9_31
    50     bool
    51     prompt "0.9.31 (EXPERIMENTAL)"
    52     depends on EXPERIMENTAL
    53     select LIBC_UCLIBC_0_9_30_or_later
    54 
    55 config LIBC_UCLIBC_V_0_9_30_3
    56     bool
    57     prompt "0.9.30.3"
    58     select LIBC_UCLIBC_0_9_30_or_later
    59 
    60 config LIBC_UCLIBC_V_0_9_30_2
    61     bool
    62     prompt "0.9.30.2"
    63     select LIBC_UCLIBC_0_9_30_or_later
    64 
    65 config LIBC_UCLIBC_V_0_9_30_1
    66     bool
    67     prompt "0.9.30.1"
    68     select LIBC_UCLIBC_0_9_30_or_later
    69 
    70 config LIBC_UCLIBC_V_0_9_30
    71     bool
    72     prompt "0.9.30"
    73     select LIBC_UCLIBC_0_9_30_or_later
    74 
    75 config LIBC_UCLIBC_V_0_9_29
    76     bool
    77     prompt "0.9.29 (OBSOLETE)"
    78     depends on OBSOLETE
    79 
    80 config LIBC_UCLIBC_V_0_9_28_3
    81     bool
    82     prompt "0.9.28.3 (OBSOLETE)"
    83     depends on OBSOLETE
    84 
    85 config LIBC_UCLIBC_CUSTOM
    86     bool
    87     prompt "Custom uClibc"
    88     depends on EXPERIMENTAL
    89     select LIBC_SUPPORT_NPTL
    90     select LIBC_UCLIBC_0_9_30_or_later
    91 
    92 endchoice
    93 
    94 if LIBC_UCLIBC_CUSTOM
    95 
    96 config LIBC_UCLIBC_CUSTOM_LOCATION
    97     string
    98     prompt "Full path to custom uClibc source"
    99     default ""
   100     help
   101       Enter the path to the directory (or tarball) of your source for uClibc,
   102       or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/uClibc
   103 
   104 endif # LIBC_UCLIBC_CUSTOM
   105 
   106 config LIBC_VERSION
   107     string
   108 # Don't remove next line
   109 # CT_INSERT_VERSION_STRING_BELOW
   110     default "0.9.33.2" if LIBC_UCLIBC_V_0_9_33_2
   111     default "0.9.33.1" if LIBC_UCLIBC_V_0_9_33_1
   112     default "0.9.33" if LIBC_UCLIBC_V_0_9_33
   113     default "0.9.32.1" if LIBC_UCLIBC_V_0_9_32_1
   114     default "0.9.32" if LIBC_UCLIBC_V_0_9_32
   115     default "0.9.31" if LIBC_UCLIBC_V_0_9_31
   116     default "0.9.30.3" if LIBC_UCLIBC_V_0_9_30_3
   117     default "0.9.30.2" if LIBC_UCLIBC_V_0_9_30_2
   118     default "0.9.30.1" if LIBC_UCLIBC_V_0_9_30_1
   119     default "0.9.30" if LIBC_UCLIBC_V_0_9_30
   120     default "0.9.29" if LIBC_UCLIBC_V_0_9_29
   121     default "0.9.28.3" if LIBC_UCLIBC_V_0_9_28_3
   122     default "custom" if LIBC_UCLIBC_CUSTOM
   123 
   124 config LIBC_UCLIBC_0_9_32_or_later
   125     bool
   126     select LIBC_SUPPORT_NPTL
   127     select LIBC_UCLIBC_0_9_30_or_later
   128 
   129 config LIBC_UCLIBC_0_9_30_or_later
   130     bool
   131     select LIBC_UCLIBC_PARALLEL
   132 
   133 config LIBC_UCLIBC_PARALLEL
   134     bool
   135 
   136 choice
   137     bool
   138     prompt "uClibc verbosity:"
   139     default LIBC_UCLIBC_VERBOSITY_0
   140 
   141 config LIBC_UCLIBC_VERBOSITY_0
   142     bool
   143     prompt "Quiet build"
   144     help
   145       Print terse command indications.
   146 
   147 config LIBC_UCLIBC_VERBOSITY_1
   148     bool
   149     prompt "Brief build (show defines, ld flags)"
   150     help
   151       Print simplified command lines.
   152 
   153 config LIBC_UCLIBC_VERBOSITY_2
   154     bool
   155     prompt "Very verbose build"
   156     help
   157       Print full command lines.
   158 
   159 endchoice
   160 
   161 config LIBC_UCLIBC_VERBOSITY
   162     string
   163     default ""      if LIBC_UCLIBC_VERBOSITY_0
   164     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
   165     default "V=2"   if LIBC_UCLIBC_VERBOSITY_2
   166 
   167 choice
   168     bool
   169     prompt "Debug level"
   170     default LIBC_UCLIBC_DEBUG_LEVEL_0
   171 
   172 config LIBC_UCLIBC_DEBUG_LEVEL_0
   173     bool
   174     prompt "none"
   175 
   176 config LIBC_UCLIBC_DEBUG_LEVEL_1
   177     bool
   178     prompt "minimal"
   179 
   180 config LIBC_UCLIBC_DEBUG_LEVEL_2
   181     bool
   182     prompt "normal"
   183 
   184 config LIBC_UCLIBC_DEBUG_LEVEL_3
   185     bool
   186     prompt "all"
   187 
   188 endchoice
   189 
   190 config LIBC_UCLIBC_DEBUG_LEVEL
   191     int
   192     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   193     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   194     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   195 
   196 config LIBC_UCLIBC_CONFIG_FILE
   197     string
   198     prompt "Configuration file"
   199     default ""
   200     help
   201       Path to the configuration file.
   202       
   203       You _must_ provide one (for now).