toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / uclibc / Config.in
bloba20015438eff7b89090aec9af080322d011b349b
1 if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
3 comment "uClibc Options"
5 config BR2_PACKAGE_UCLIBC
6         bool
7         default y
8         select BR2_PACKAGE_LINUX_HEADERS
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         select BR2_NEEDS_HOST_UTF8_LOCALE
45         help
46           Enable this option if you want your toolchain to support
47           localization and internationalization.
49 choice
50         prompt "Thread library implementation"
51         help
52           Use this option to select the thread library implementation
53           that should be used in your toolchain.
55         config BR2_PTHREADS_NATIVE
56                 bool "Native POSIX Threading (NPTL)"
57                 select BR2_TOOLCHAIN_HAS_THREADS
58                 select BR2_TOOLCHAIN_HAS_THREADS_NPTL
59                 depends on BR2_USE_MMU
60                 depends on !BR2_m68k && !BR2_microblaze
62         config BR2_PTHREADS
63                 bool "linuxthreads"
64                 select BR2_TOOLCHAIN_HAS_THREADS
65                 depends on BR2_bfin || BR2_m68k || BR2_microblaze || BR2_arm || BR2_armeb || BR2_xtensa
67         config BR2_PTHREADS_NONE
68                 bool "none"
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 # Mapping from the Buildroot architecture configuration options to the
100 # uClibc architecture names.
101 config BR2_UCLIBC_TARGET_ARCH
102         string
103         default "arc"      if BR2_arcle || BR2_arceb
104         default "arm"      if BR2_arm   || BR2_armeb
105         default "bfin"     if BR2_bfin
106         default "m68k"     if BR2_m68k
107         default "microblaze"   if BR2_microblaze
108         default "mips"     if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
109         default "powerpc"  if BR2_powerpc
110         default "sh"       if BR2_sh
111         default "sparc"    if BR2_sparc
112         default "xtensa"   if BR2_xtensa
113         default "i386"     if BR2_i386
114         default "x86_64"   if BR2_x86_64
116 config BR2_UCLIBC_ARC_TYPE
117         string
118         depends on BR2_UCLIBC_TARGET_ARCH = "arc"
119         default "ARC_CPU_700"   if BR2_arc750d
120         default "ARC_CPU_700"   if BR2_arc770d
121         default "ARC_CPU_HS"    if BR2_archs38
123 config BR2_UCLIBC_MIPS_ABI
124         string
125         depends on BR2_UCLIBC_TARGET_ARCH = "mips"
126         default "O32" if BR2_MIPS_OABI32
127         default "N32" if BR2_MIPS_NABI32
128         default "N64" if BR2_MIPS_NABI64
130 config BR2_UCLIBC_MIPS_ISA
131         string
132         depends on BR2_UCLIBC_TARGET_ARCH = "mips"
133         default "MIPS32" if BR2_MIPS_CPU_MIPS32
134         default "MIPS32R2" if BR2_MIPS_CPU_MIPS32R2
135         default "MIPS64" if BR2_MIPS_CPU_MIPS64
137 config BR2_UCLIBC_SH_TYPE
138         string
139         depends on BR2_UCLIBC_TARGET_ARCH = "sh"
140         default "SH2A" if BR2_sh2a
141         default "SH4"  if BR2_sh4 || BR2_sh4eb
143 config BR2_UCLIBC_SPARC_TYPE
144         string
145         depends on BR2_UCLIBC_TARGET_ARCH = "sparc"
146         default "V7"    if BR2_sparc_v7 || BR2_sparc_sparchfleon || BR2_sparc_sparcsfleon
147         default "V8"    if BR2_sparc_v8 || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleonv8
149 config BR2_UCLIBC_POWERPC_TYPE
150         string
151         depends on BR2_UCLIBC_TARGET_ARCH = "powerpc"
152         default "CLASSIC" if !BR2_powerpc_8540 && !BR2_powerpc_8548
153         default "E500"    if BR2_powerpc_8540 || BR2_powerpc_8548
155 config BR2_UCLIBC_X86_TYPE
156         string
157         depends on BR2_UCLIBC_TARGET_ARCH = "i386"
158         default "486"        if BR2_x86_i486
159         default "586"        if BR2_x86_i586
160         default "586MMX"     if BR2_x86_pentium_mmx
161         default "686"        if BR2_x86_i686 || BR2_x86_pentiumpro
162         default "PENTIUMII"  if BR2_x86_pentium2
163         default "PENTIUMIII" if BR2_x86_pentium3
164         default "PENTIUM4"   if BR2_x86_pentium4 || BR2_x86_pentium_m || \
165                                 BR2_x86_nocona || BR2_x86_core2 || BR2_x86_corei7
167 endif # BR2_TOOLCHAIN_BUILDROOT_UCLIBC