config/libc/uClibc.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 2951 e9a326ae9369
child 3099 79169596cfc9
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 # 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 # As of today (20100702) we can be pretty sure that every
    86 # snapshots made since a month ago are post -0.9.30.
    87 
    88 config LIBC_UCLIBC_V_snapshot
    89     bool
    90     prompt "latest snapshot (EXPERIMENTAL)"
    91     depends on EXPERIMENTAL
    92     select LIBC_SUPPORT_NPTL
    93     select LIBC_UCLIBC_0_9_30_or_later
    94 
    95 config LIBC_UCLIBC_V_specific_date
    96     bool
    97     prompt "<specific date> (EXPERIMENTAL)"
    98     depends on EXPERIMENTAL
    99     select LIBC_SUPPORT_NPTL
   100     select LIBC_UCLIBC_0_9_30_or_later
   101 
   102 endchoice
   103 
   104 config LIBC_VERSION
   105     string
   106     prompt "Enter date (YYYYMMDD)" if LIBC_UCLIBC_V_specific_date
   107 # Don't remove next line
   108 # CT_INSERT_VERSION_STRING_BELOW
   109     default "0.9.33.2" if LIBC_UCLIBC_V_0_9_33_2
   110     default "0.9.33.1" if LIBC_UCLIBC_V_0_9_33_1
   111     default "0.9.33" if LIBC_UCLIBC_V_0_9_33
   112     default "0.9.32.1" if LIBC_UCLIBC_V_0_9_32_1
   113     default "0.9.32" if LIBC_UCLIBC_V_0_9_32
   114     default "0.9.31" if LIBC_UCLIBC_V_0_9_31
   115     default "0.9.30.3" if LIBC_UCLIBC_V_0_9_30_3
   116     default "0.9.30.2" if LIBC_UCLIBC_V_0_9_30_2
   117     default "0.9.30.1" if LIBC_UCLIBC_V_0_9_30_1
   118     default "0.9.30" if LIBC_UCLIBC_V_0_9_30
   119     default "0.9.29" if LIBC_UCLIBC_V_0_9_29
   120     default "0.9.28.3" if LIBC_UCLIBC_V_0_9_28_3
   121     default "snapshot" if LIBC_UCLIBC_V_snapshot
   122 
   123 config LIBC_UCLIBC_0_9_32_or_later
   124     bool
   125     select LIBC_SUPPORT_NPTL
   126     select LIBC_UCLIBC_0_9_30_or_later
   127 
   128 config LIBC_UCLIBC_0_9_30_or_later
   129     bool
   130     select LIBC_UCLIBC_PARALLEL
   131 
   132 config LIBC_UCLIBC_PARALLEL
   133     bool
   134 
   135 choice
   136     bool
   137     prompt "uClibc verbosity:"
   138     default LIBC_UCLIBC_VERBOSITY_0
   139 
   140 config LIBC_UCLIBC_VERBOSITY_0
   141     bool
   142     prompt "Quiet build"
   143     help
   144       Print terse command indications.
   145 
   146 config LIBC_UCLIBC_VERBOSITY_1
   147     bool
   148     prompt "Brief build (show defines, ld flags)"
   149     help
   150       Print simplified command lines.
   151 
   152 config LIBC_UCLIBC_VERBOSITY_2
   153     bool
   154     prompt "Very verbose build"
   155     help
   156       Print full command lines.
   157 
   158 endchoice
   159 
   160 config LIBC_UCLIBC_VERBOSITY
   161     string
   162     default ""      if LIBC_UCLIBC_VERBOSITY_0
   163     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
   164     default "V=2"   if LIBC_UCLIBC_VERBOSITY_2
   165 
   166 choice
   167     bool
   168     prompt "Debug level"
   169     default LIBC_UCLIBC_DEBUG_LEVEL_0
   170 
   171 config LIBC_UCLIBC_DEBUG_LEVEL_0
   172     bool
   173     prompt "none"
   174 
   175 config LIBC_UCLIBC_DEBUG_LEVEL_1
   176     bool
   177     prompt "minimal"
   178 
   179 config LIBC_UCLIBC_DEBUG_LEVEL_2
   180     bool
   181     prompt "normal"
   182 
   183 config LIBC_UCLIBC_DEBUG_LEVEL_3
   184     bool
   185     prompt "all"
   186 
   187 endchoice
   188 
   189 config LIBC_UCLIBC_DEBUG_LEVEL
   190     int
   191     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   192     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   193     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   194 
   195 config LIBC_UCLIBC_CONFIG_FILE
   196     string
   197     prompt "Configuration file"
   198     default ""
   199     help
   200       Path to the configuration file.
   201       
   202       You _must_ provide one (for now).