OSDN Git Service

Fixup selection of endianness, since select does not work on choice
[uclinux-h8/uClibc.git] / extra / Configs / Config.in.arch
1 #
2 # For a description of the syntax of this configuration file,
3 # see extra/config/Kconfig-language.txt
4 #
5
6 choice
7         prompt "Target Processor Endianness"
8         help
9           This is the endianness you wish to build use.  Choose either Big
10           Endian, or Little Endian.
11
12 config ARCH_LITTLE_ENDIAN
13         bool "Little Endian"
14         depends on ARCH_SUPPORTS_LITTLE_ENDIAN
15
16 config ARCH_BIG_ENDIAN
17         bool "Big Endian"
18         depends on ARCH_SUPPORTS_BIG_ENDIAN
19
20 endchoice
21
22 config ARCH_HAS_NO_MMU
23         bool
24         default n
25
26 config UCLIBC_HAS_MMU
27         bool "Target CPU has a memory management unit (MMU)"
28         default y
29         depends !ARCH_HAS_NO_MMU
30         help
31           If your target CPU does not have a memory management unit (MMU), 
32           then answer N here.  Normally, Linux runs on systems with an MMU.  
33           If you are building a uClinux system, answer N.
34
35           Most people will answer Y.
36
37 config UCLIBC_HAS_FLOATS
38         bool "Enable floating point number support"
39         default y
40         help
41           This option allows you to entirely omit all floating point number
42           support from uClibc.  This will cause floating point functions like
43           strtod() to be omitted from uClibc.  Other floating point functions, 
44           such as printf() and scanf() will still be included in the library, 
45           but will not contain support for floating point numbers.
46
47           Answering N to this option can reduce the size of uClibc.  Most people
48           will answer Y.
49
50 config HAS_FPU
51         bool "Target CPU has a floating point unit (FPU)"
52         depends on UCLIBC_HAS_FLOATS
53         default y
54         help
55           If your target CPU does not have a Floating Point Unit (FPU) or a
56           kernel FPU emulator, but you still wish to support floating point
57           functions, then uClibc will need to be compiled with soft floating
58           point support (-msoft-float).  If your target CPU does not have an
59           FPU or an FPU emulator within the Linux kernel, then you should
60           answer N.
61
62           Most people will answer Y.
63
64 config UCLIBC_HAS_SOFT_FLOAT
65         bool
66         depends on UCLIBC_HAS_FLOATS && !HAS_FPU
67         default y
68
69 config DO_C99_MATH
70         bool "Enable full C99 math library support"
71         depends on UCLIBC_HAS_FLOATS
72         default n
73         help
74           If you want the uClibc math library to contain the full set C99
75           math library features, then answer Y.  If you leave this set to
76           N the math library will contain only the math functions that were
77           listed as part of the traditional POSIX/IEEE 1003.1b-1993 standard.
78           Leaving this option set to N will save around 35k on an x86 system.
79
80           If your applications require the newer C99 math library functions, 
81           then answer Y.
82
83 config WARNINGS
84         string "Compiler Warnings"
85         default "-Wall"
86         help
87           Set this to the set of gcc warnings you wish to see while compiling.
88
89 config KERNEL_SOURCE
90         string "Linux kernel header location"
91         default "/usr/src/linux"
92         help
93           The kernel source you use to compile with should be the same as the
94           Linux kernel you run your apps on.  uClibc doesn't even try to achieve binary
95           compatibility across kernel versions.  So don't expect, for example, uClibc
96           compiled with Linux kernel 2.0.x to implement lchown properly, since 2.0.x
97           can't do that. Similarly, if you compile uClibc vs Linux 2.4.x kernel headers,
98           but then run on Linux 2.0.x, lchown will be compiled into uClibc, but won't
99           work at all.  You have been warned.
100
101 config UCLIBC_UCLINUX_BROKEN_MUNMAP
102         bool
103         depends on !UCLIBC_HAS_MMU
104         default y
105
106 config EXCLUDE_BRK
107         bool
108         depends on !UCLIBC_HAS_MMU
109         default y
110
111 config C_SYMBOL_PREFIX
112         string
113         default "_" if ARCH_HAS_C_SYMBOL_PREFIX
114         default "" if !ARCH_HAS_C_SYMBOL_PREFIX
115
116 config HAVE_DOT_CONFIG
117         bool
118         default y
119