zynq_zed: bump U-Boot to xilinx-v2016.2
[buildroot-gz.git] / package / uclibc / Config.in
blob7c99195d082fe5bc30b7df324bac55183087445b
1 if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
3 config BR2_PACKAGE_UCLIBC
4         bool
5         default y
6         select BR2_PACKAGE_LINUX_HEADERS
8 comment "uClibc Options"
10 config BR2_UCLIBC_CONFIG
11         string "uClibc configuration file to use?"
12         default "package/uclibc/uClibc-ng.config"
13         help
14           Some people may wish to use their own modified uClibc configuration
15           file and will specify their config file location with this option.
16           See also docs/README in this package.
17           If unsure, use the default.
19 config BR2_UCLIBC_CONFIG_FRAGMENT_FILES
20         string "Additional uClibc configuration fragment files"
21         help
22           A space-separated list of configuration fragment files,
23           that will be merged to the main uClibc configuration file.
25 config BR2_TOOLCHAIN_BUILDROOT_INET_RPC
26         bool "Enable RPC support"
27         select BR2_TOOLCHAIN_HAS_NATIVE_RPC
28         help
29           Enable this option if you want your toolchain to support
30           RPC (needed for NFS, for example).
32 config BR2_TOOLCHAIN_BUILDROOT_WCHAR
33         bool "Enable WCHAR support"
34         select BR2_USE_WCHAR
35         help
36           Enable this option if you want your toolchain to support
37           wide characters (i.e characters longer than 8 bits, needed
38           for locale support).
40 config BR2_TOOLCHAIN_BUILDROOT_LOCALE
41         bool "Enable toolchain locale/i18n support"
42         select BR2_TOOLCHAIN_BUILDROOT_WCHAR
43         select BR2_ENABLE_LOCALE
44         help
45           Enable this option if you want your toolchain to support
46           localization and internationalization.
48 choice
49         prompt "Thread library implementation"
50         default BR2_PTHREADS_NATIVE
51         default BR2_PTHREADS if !BR2_USE_MMU
52         help
53           Use this option to select the thread library implementation
54           that should be used in your toolchain.
56         config BR2_PTHREADS_NONE
57                 bool "none"
59         config BR2_PTHREADS
60                 bool "linuxthreads"
61                 select BR2_TOOLCHAIN_HAS_THREADS
62                 depends on BR2_bfin || BR2_m68k || BR2_microblaze || BR2_arm || BR2_armeb || BR2_xtensa
64         config BR2_PTHREADS_NATIVE
65                 bool "Native POSIX Threading (NPTL)"
66                 select BR2_TOOLCHAIN_HAS_THREADS
67                 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
68                 depends on BR2_USE_MMU
69                 depends on !BR2_m68k && !BR2_microblaze
70 endchoice
72 config BR2_PTHREAD_DEBUG
73         bool "Thread library debugging"
74         depends on BR2_PTHREADS || BR2_PTHREADS_NATIVE
75         select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
76         help
77           Build the thread library with debugging enabled.
79 config BR2_TOOLCHAIN_BUILDROOT_USE_SSP
80         bool "Enable stack protection support"
81         select BR2_TOOLCHAIN_HAS_SSP
82         help
83           Enable stack smashing protection support using GCCs
84           -fstack-protector-all option in uClibc.
86           See http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt
87           for details.
89 config BR2_UCLIBC_INSTALL_UTILS
90         bool "Compile and install uClibc utilities"
91         default y
92         help
93           Enabling this option will compile and install the getconf,
94           ldconfig and ldd uClibc utilities for the target.
96           You can save ~32 KiB in target space by disabling them since
97           they're normally not needed.
99 config BR2_UCLIBC_INSTALL_TEST_SUITE
100         bool "Compile and install uClibc tests"
101         help
102           Enabling this option will compile and install the uClibc test suite.
103           This is useful if you want to check if the uClibc library is working
104           for your architecture and/or help developing uClibc.
106           The test suite will be installed into /root/uClibc directory. To run
107           the test suite enter the /root/uClibc/test directory and type
108           "sh uclibcng-testrunner.sh".
110           See the /root/uClibc/test/README for additional information.
112           This is not needed at all for normal builds, so you can safely say no
113           if you do not plan to dig into your C library.
115 # Mapping from the Buildroot architecture configuration options to the
116 # uClibc architecture names.
117 config BR2_UCLIBC_TARGET_ARCH
118         string
119         default "arc"      if BR2_arcle || BR2_arceb
120         default "arm"      if BR2_arm   || BR2_armeb
121         default "bfin"     if BR2_bfin
122         default "m68k"     if BR2_m68k
123         default "microblaze"   if BR2_microblaze
124         default "mips"     if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
125         default "powerpc"  if BR2_powerpc
126         default "sh"       if BR2_sh
127         default "sparc"    if BR2_sparc
128         default "xtensa"   if BR2_xtensa
129         default "i386"     if BR2_i386
130         default "x86_64"   if BR2_x86_64
132 config BR2_UCLIBC_ARC_TYPE
133         string
134         depends on BR2_UCLIBC_TARGET_ARCH = "arc"
135         default "ARC_CPU_700"   if BR2_arc750d
136         default "ARC_CPU_700"   if BR2_arc770d
137         default "ARC_CPU_HS"    if BR2_archs38
139 config BR2_UCLIBC_MIPS_ABI
140         string
141         depends on BR2_UCLIBC_TARGET_ARCH = "mips"
142         default "O32" if BR2_MIPS_OABI32
143         default "N32" if BR2_MIPS_NABI32
144         default "N64" if BR2_MIPS_NABI64
146 config BR2_UCLIBC_MIPS_ISA
147         string
148         depends on BR2_UCLIBC_TARGET_ARCH = "mips"
149         default "MIPS32" if BR2_mips_32
150         default "MIPS32R2" if BR2_mips_32r2
151         default "MIPS64" if BR2_mips_64
153 config BR2_UCLIBC_SH_TYPE
154         string
155         depends on BR2_UCLIBC_TARGET_ARCH = "sh"
156         default "SH2A" if BR2_sh2a
157         default "SH4"  if BR2_sh4 || BR2_sh4eb
159 config BR2_UCLIBC_SPARC_TYPE
160         string
161         depends on BR2_UCLIBC_TARGET_ARCH = "sparc"
162         default "V7"    if BR2_sparc_v7 || BR2_sparc_sparchfleon || BR2_sparc_sparcsfleon
163         default "V8"    if BR2_sparc_v8 || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleonv8
165 config BR2_UCLIBC_POWERPC_TYPE
166         string
167         depends on BR2_UCLIBC_TARGET_ARCH = "powerpc"
168         default "CLASSIC" if !BR2_powerpc_8540 && !BR2_powerpc_8548
169         default "E500"    if BR2_powerpc_8540 || BR2_powerpc_8548
171 config BR2_UCLIBC_X86_TYPE
172         string
173         depends on BR2_UCLIBC_TARGET_ARCH = "i386"
174         default "486"        if BR2_x86_i486
175         default "586"        if BR2_x86_i586
176         default "586MMX"     if BR2_x86_pentium_mmx
177         default "686"        if BR2_x86_i686 || BR2_x86_pentiumpro
178         default "PENTIUMII"  if BR2_x86_pentium2
179         default "PENTIUMIII" if BR2_x86_pentium3
180         default "PENTIUM4"   if BR2_x86_pentium4 || BR2_x86_pentium_m || \
181                                 BR2_x86_nocona || BR2_x86_core2 || BR2_x86_corei7
183 endif # BR2_TOOLCHAIN_BUILDROOT_UCLIBC