config/libc/uClibc.in
author David Holsgrove <david.holsgrove@xilinx.com>
Thu Oct 11 14:39:44 2012 +1000 (2012-10-11)
changeset 3099 79169596cfc9
parent 2990 1f6c8e4b2b92
child 3100 bd4af15b7c75
permissions -rw-r--r--
libc/uClibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <712995e3e719fbbe24af.1349931201@localhost.localdomain>
PatchWork-Id: 190794
     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 config LIBC_UCLIBC_CUSTOM
   103     bool
   104     prompt "Custom uClibc"
   105     depends on EXPERIMENTAL
   106     select LIBC_SUPPORT_NPTL
   107     select LIBC_UCLIBC_0_9_30_or_later
   108 
   109 endchoice
   110 
   111 if LIBC_UCLIBC_CUSTOM
   112 
   113 config LIBC_UCLIBC_CUSTOM_LOCATION
   114     string
   115     prompt "Full path to custom uClibc source"
   116     default ""
   117     help
   118       Enter the path to the directory (or tarball) of your source for uClibc,
   119       or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/uClibc
   120 
   121 endif # LIBC_UCLIBC_CUSTOM
   122 
   123 config LIBC_VERSION
   124     string
   125     prompt "Enter date (YYYYMMDD)" if LIBC_UCLIBC_V_specific_date
   126 # Don't remove next line
   127 # CT_INSERT_VERSION_STRING_BELOW
   128     default "0.9.33.2" if LIBC_UCLIBC_V_0_9_33_2
   129     default "0.9.33.1" if LIBC_UCLIBC_V_0_9_33_1
   130     default "0.9.33" if LIBC_UCLIBC_V_0_9_33
   131     default "0.9.32.1" if LIBC_UCLIBC_V_0_9_32_1
   132     default "0.9.32" if LIBC_UCLIBC_V_0_9_32
   133     default "0.9.31" if LIBC_UCLIBC_V_0_9_31
   134     default "0.9.30.3" if LIBC_UCLIBC_V_0_9_30_3
   135     default "0.9.30.2" if LIBC_UCLIBC_V_0_9_30_2
   136     default "0.9.30.1" if LIBC_UCLIBC_V_0_9_30_1
   137     default "0.9.30" if LIBC_UCLIBC_V_0_9_30
   138     default "0.9.29" if LIBC_UCLIBC_V_0_9_29
   139     default "0.9.28.3" if LIBC_UCLIBC_V_0_9_28_3
   140     default "snapshot" if LIBC_UCLIBC_V_snapshot
   141     default "custom" if LIBC_UCLIBC_CUSTOM
   142 
   143 config LIBC_UCLIBC_0_9_32_or_later
   144     bool
   145     select LIBC_SUPPORT_NPTL
   146     select LIBC_UCLIBC_0_9_30_or_later
   147 
   148 config LIBC_UCLIBC_0_9_30_or_later
   149     bool
   150     select LIBC_UCLIBC_PARALLEL
   151 
   152 config LIBC_UCLIBC_PARALLEL
   153     bool
   154 
   155 choice
   156     bool
   157     prompt "uClibc verbosity:"
   158     default LIBC_UCLIBC_VERBOSITY_0
   159 
   160 config LIBC_UCLIBC_VERBOSITY_0
   161     bool
   162     prompt "Quiet build"
   163     help
   164       Print terse command indications.
   165 
   166 config LIBC_UCLIBC_VERBOSITY_1
   167     bool
   168     prompt "Brief build (show defines, ld flags)"
   169     help
   170       Print simplified command lines.
   171 
   172 config LIBC_UCLIBC_VERBOSITY_2
   173     bool
   174     prompt "Very verbose build"
   175     help
   176       Print full command lines.
   177 
   178 endchoice
   179 
   180 config LIBC_UCLIBC_VERBOSITY
   181     string
   182     default ""      if LIBC_UCLIBC_VERBOSITY_0
   183     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
   184     default "V=2"   if LIBC_UCLIBC_VERBOSITY_2
   185 
   186 choice
   187     bool
   188     prompt "Debug level"
   189     default LIBC_UCLIBC_DEBUG_LEVEL_0
   190 
   191 config LIBC_UCLIBC_DEBUG_LEVEL_0
   192     bool
   193     prompt "none"
   194 
   195 config LIBC_UCLIBC_DEBUG_LEVEL_1
   196     bool
   197     prompt "minimal"
   198 
   199 config LIBC_UCLIBC_DEBUG_LEVEL_2
   200     bool
   201     prompt "normal"
   202 
   203 config LIBC_UCLIBC_DEBUG_LEVEL_3
   204     bool
   205     prompt "all"
   206 
   207 endchoice
   208 
   209 config LIBC_UCLIBC_DEBUG_LEVEL
   210     int
   211     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   212     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   213     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   214 
   215 config LIBC_UCLIBC_CONFIG_FILE
   216     string
   217     prompt "Configuration file"
   218     default ""
   219     help
   220       Path to the configuration file.
   221       
   222       You _must_ provide one (for now).