The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / uclibc / Config.in
1 if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
2
3 # For legal-info
4 config BR2_PACKAGE_UCLIBC
5         bool
6         default y
7
8 comment "uClibc Options"
9
10 config BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS
11        bool
12
13 config BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
14        bool
15
16 config BR2_UCLIBC_VERSION_SUPPORTS_NPTL
17        bool
18
19 choice
20         prompt "uClibc C library Version"
21         default BR2_UCLIBC_VERSION_0_9_33
22         help
23           Select the version of uClibc you wish to use.
24
25         config BR2_UCLIBC_VERSION_0_9_33
26                 bool "uClibc 0.9.33.x"
27                 select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS
28                 select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
29                 select BR2_UCLIBC_VERSION_SUPPORTS_NPTL if !BR2_x86_i386
30                 depends on !(BR2_arc || BR2_xtensa)
31
32         config BR2_UCLIBC_VERSION_ARC_GIT
33                 bool "uClibc Git ARC"
34                 select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS
35                 select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
36                 depends on BR2_arc
37
38         config BR2_UCLIBC_VERSION_NG
39                 bool "uClibc-ng"
40                 select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS if BR2_m68k
41                 select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD \
42                        if BR2_m68k || BR2_arm || BR2_armeb
43                 select BR2_UCLIBC_VERSION_SUPPORTS_NPTL \
44                        if !BR2_arc && !BR2_m68k && !BR2_x86_i386
45
46         config BR2_UCLIBC_VERSION_XTENSA_GIT
47                 bool "uClibc Git Xtensa"
48                 depends on BR2_xtensa
49                 select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
50
51         config BR2_UCLIBC_VERSION_SNAPSHOT
52                 bool "daily snapshot"
53                 select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS if !BR2_xtensa
54                 select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
55                 select BR2_UCLIBC_VERSION_SUPPORTS_NPTL \
56                        if !BR2_x86_i386 && !BR2_xtensa
57                 depends on !(BR2_arc)
58
59 endchoice
60
61 config BR2_USE_UCLIBC_SNAPSHOT
62         string "Date (yyyymmdd) of snapshot or 'snapshot' for latest"
63         default "snapshot"
64         depends on BR2_UCLIBC_VERSION_SNAPSHOT
65         help
66           Use latest snapshot or one from a specific date?
67
68 config BR2_UCLIBC_VERSION_STRING
69         string
70         default "0.9.33.2"      if BR2_UCLIBC_VERSION_0_9_33
71         default "arc-2014.12" if BR2_UCLIBC_VERSION_ARC_GIT
72         default "1.0.2"         if BR2_UCLIBC_VERSION_NG
73         default "7bf35c8b7d4a1f97174eb49f47f33946b282114c" if BR2_UCLIBC_VERSION_XTENSA_GIT
74         default BR2_USE_UCLIBC_SNAPSHOT if BR2_UCLIBC_VERSION_SNAPSHOT
75
76 config BR2_UCLIBC_CONFIG
77         string "uClibc configuration file to use?"
78         default "package/uclibc/uClibc-0.9.33.config" if BR2_UCLIBC_VERSION_0_9_33
79         default "package/uclibc/uClibc-ng.config" if BR2_UCLIBC_VERSION_NG
80         default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_ARC_GIT
81         default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT
82         default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_XTENSA_GIT
83         help
84           Some people may wish to use their own modified uClibc configuration
85           file and will specify their config file location with this option.
86           See also docs/README in this package.
87           If unsure, use the default.
88
89 config BR2_TOOLCHAIN_BUILDROOT_INET_RPC
90         bool "Enable RPC support"
91         select BR2_TOOLCHAIN_HAS_NATIVE_RPC
92         help
93           Enable this option if you want your toolchain to support
94           RPC (needed for NFS, for example).
95
96 config BR2_TOOLCHAIN_BUILDROOT_WCHAR
97         bool "Enable WCHAR support"
98         select BR2_USE_WCHAR
99         help
100           Enable this option if you want your toolchain to support
101           wide characters (i.e characters longer than 8 bits, needed
102           for locale support).
103
104 config BR2_TOOLCHAIN_BUILDROOT_LOCALE
105         bool "Enable toolchain locale/i18n support"
106         select BR2_TOOLCHAIN_BUILDROOT_WCHAR
107         select BR2_ENABLE_LOCALE
108         help
109           Enable this option if you want your toolchain to support
110           localization and internationalization.
111
112 choice
113         prompt "Thread library implementation"
114         default BR2_PTHREADS_NATIVE if BR2_UCLIBC_VERSION_SUPPORTS_NPTL
115         default BR2_PTHREADS_OLD if BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
116         default BR2_PTHREADS if BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS
117         help
118           Use this option to select the thread library implementation
119           that should be used in your toolchain.
120
121         config BR2_PTHREADS_NONE
122                 bool "none"
123
124         config BR2_PTHREADS
125                 bool "linuxthreads"
126                 select BR2_TOOLCHAIN_HAS_THREADS
127                 depends on BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS
128
129         config BR2_PTHREADS_OLD
130                 bool "linuxthreads (stable/old)"
131                 select BR2_TOOLCHAIN_HAS_THREADS
132                 depends on BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
133
134         config BR2_PTHREADS_NATIVE
135                 bool "Native POSIX Threading (NPTL)"
136                 select BR2_TOOLCHAIN_HAS_THREADS
137                 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
138                 depends on BR2_UCLIBC_VERSION_SUPPORTS_NPTL
139 endchoice
140
141 config BR2_PTHREAD_DEBUG
142         bool "Thread library debugging"
143         depends on BR2_PTHREADS || BR2_PTHREADS_OLD || BR2_PTHREADS_NATIVE
144         select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
145         help
146           Build the thread library with debugging enabled.
147
148 config BR2_TOOLCHAIN_BUILDROOT_USE_SSP
149         bool "Enable stack protection support"
150         select BR2_TOOLCHAIN_HAS_SSP
151         help
152           Enable stack smashing protection support using GCCs
153           -fstack-protector-all option in uClibc.
154
155           See http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt
156           for details.
157
158 config BR2_UCLIBC_INSTALL_UTILS
159         bool "Compile and install uClibc utilities"
160         default y
161         help
162           Enabling this option will compile and install the getconf,
163           ldconfig and ldd uClibc utilities for the target.
164
165           You can save ~32 KiB in target space by disabling them since
166           they're normally not needed.
167
168 config BR2_UCLIBC_INSTALL_TEST_SUITE
169         bool "Compile and install uClibc tests"
170         select BR2_PACKAGE_MAKE
171         depends on BR2_USE_MMU # make
172         help
173           Enabling this option will compile and install the uClibc test suite.
174           This is useful if you want to check if the uClibc library is working
175           for your architecture and/or help developing uClibc.
176
177           The test suite will be installed into /root/uClibc directory. To run
178           the test suite enter the /root/uClibc/test directory and type
179           "make UCLIBC_ONLY=1 CC=/bin/true check".
180
181           See the /root/uClibc/test/README for additional information.
182
183           This is not needed at all for normal builds, so you can safely say no
184           if you do not plan to dig into your C library.
185
186 # Mapping from the Buildroot architecture configuration options to the
187 # uClibc architecture names.
188 config BR2_UCLIBC_TARGET_ARCH
189         string
190         default "arc"      if BR2_arcle || BR2_arceb
191         default "arm"      if BR2_arm   || BR2_armeb
192         default "m68k"     if BR2_m68k
193         default "mips"     if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
194         default "powerpc"  if BR2_powerpc
195         default "sh"       if BR2_sh
196         default "sparc"    if BR2_sparc
197         default "xtensa"   if BR2_xtensa
198         default "i386"     if BR2_i386
199         default "x86_64"   if BR2_x86_64
200
201 config BR2_UCLIBC_ARC_TYPE
202         string
203         depends on BR2_UCLIBC_TARGET_ARCH = "arc"
204         default "ARC_CPU_700"   if BR2_arc750d
205         default "ARC_CPU_700"   if BR2_arc770d
206         default "ARC_CPU_HS"    if BR2_archs38
207
208 config BR2_UCLIBC_ARM_BX
209         bool
210         depends on BR2_UCLIBC_TARGET_ARCH = "arm"
211         default y if (BR2_ARM_CPU_HAS_THUMB || BR2_ARM_CPU_HAS_THUMB2)
212
213 config BR2_UCLIBC_MIPS_ABI
214         string
215         depends on BR2_UCLIBC_TARGET_ARCH = "mips"
216         default "O32" if BR2_MIPS_OABI32
217         default "N32" if BR2_MIPS_NABI32
218         default "N64" if BR2_MIPS_NABI64
219
220 config BR2_UCLIBC_MIPS_ISA
221         string
222         depends on BR2_UCLIBC_TARGET_ARCH = "mips"
223         default "MIPS32" if BR2_mips_32
224         default "MIPS32R2" if BR2_mips_32r2
225         default "MIPS64" if BR2_mips_64
226
227 config BR2_UCLIBC_SH_TYPE
228         string
229         depends on BR2_UCLIBC_TARGET_ARCH = "sh"
230         default "SH2A" if BR2_sh2a
231         default "SH4"  if BR2_sh4 || BR2_sh4eb
232
233 config BR2_UCLIBC_SPARC_TYPE
234         string
235         depends on BR2_UCLIBC_TARGET_ARCH = "sparc"
236         default "V7"    if BR2_sparc_v7 || BR2_sparc_sparchfleon || BR2_sparc_sparcsfleon
237         default "V8"    if BR2_sparc_v8 || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleonv8
238
239 config BR2_UCLIBC_POWERPC_TYPE
240         string
241         depends on BR2_UCLIBC_TARGET_ARCH = "powerpc"
242         default "CLASSIC" if !BR2_powerpc_8540 && !BR2_powerpc_8548
243         default "E500"    if BR2_powerpc_8540 || BR2_powerpc_8548
244
245 config BR2_UCLIBC_X86_TYPE
246         string
247         depends on BR2_UCLIBC_TARGET_ARCH = "i386"
248         default "386"        if BR2_x86_i386
249         default "486"        if BR2_x86_i486
250         default "586"        if BR2_x86_i586
251         default "586MMX"     if BR2_x86_pentium_mmx
252         default "686"        if BR2_x86_i686 || BR2_x86_pentiumpro
253         default "PENTIUMII"  if BR2_x86_pentium2
254         default "PENTIUMIII" if BR2_x86_pentium3
255         default "PENTIUM4"   if BR2_x86_pentium4 || BR2_x86_pentium_m || \
256                                 BR2_x86_nocona || BR2_x86_core2 || BR2_x86_corei7
257
258 endif # BR2_TOOLCHAIN_BUILDROOT_UCLIBC