OSDN Git Service

update MMU config options to utilize USE_MMU instead of HAS_MMU
[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 config ARCH_ANY_ENDIAN
7         bool
8 config ARCH_BIG_ENDIAN
9         bool
10 config ARCH_LITTLE_ENDIAN
11         bool
12 if ARCH_ANY_ENDIAN
13 choice
14         prompt "Target Processor Endianness"
15         help
16           This is the endianness you wish to use.  Choose either Big
17           Endian, or Little Endian.
18 config ARCH_WANTS_BIG_ENDIAN
19         bool "Big Endian"
20         select ARCH_BIG_ENDIAN
21 config ARCH_WANTS_LITTLE_ENDIAN
22         bool "Little Endian"
23         select ARCH_LITTLE_ENDIAN
24 endchoice
25 endif
26 # if the arch only supports one endian, just display the setting
27 if !ARCH_ANY_ENDIAN && ARCH_LITTLE_ENDIAN
28 comment "Using Little Endian"
29 endif
30 if !ARCH_ANY_ENDIAN && ARCH_BIG_ENDIAN
31 comment "Using Big Endian"
32 endif
33
34 config ARCH_HAS_NO_MMU
35         bool
36 if ARCH_HAS_NO_MMU
37 comment "Target CPU lacks a memory management unit (MMU)"
38 endif
39
40 config ARCH_HAS_MMU
41         bool "Target CPU has a memory management unit (MMU)"
42         depends !ARCH_HAS_NO_MMU
43         default y
44         help
45           If your target CPU does not have a memory management unit (MMU), 
46           then answer N here.  Normally, Linux runs on systems with an MMU.  
47           If you are building a uClinux system, answer N.
48
49           Most people will answer Y.
50
51 config ARCH_USE_MMU
52         bool "Do you want to utilize the MMU?"
53         depends on ARCH_HAS_MMU
54         default y
55         help
56           If your target CPU has a MMU, and you wish to actually utilize it,
57           then answer Y here.  Normal Linux requires an MMU.
58
59           If you're unsure, answer Y.
60
61 config UCLIBC_HAS_FLOATS
62         bool "Enable floating point number support"
63         default y
64         help
65           This option allows you to entirely omit all floating point number
66           support from uClibc.  This will cause floating point functions like
67           strtod() to be omitted from uClibc.  Other floating point functions, 
68           such as printf() and scanf() will still be included in the library, 
69           but will not contain support for floating point numbers.
70
71           Answering N to this option can reduce the size of uClibc.  Most people
72           will answer Y.
73
74 config UCLIBC_HAS_FPU
75         bool "Target CPU has a floating point unit (FPU)"
76         depends on UCLIBC_HAS_FLOATS
77         default y
78         help
79           If your target CPU does not have a Floating Point Unit (FPU) or a
80           kernel FPU emulator, but you still wish to support floating point
81           functions, then uClibc will need to be compiled with soft floating
82           point support (-msoft-float).  If your target CPU does not have an
83           FPU or an FPU emulator within the Linux kernel, then you should
84           answer N.
85
86           Most people will answer Y.
87
88 config UCLIBC_HAS_SOFT_FLOAT
89         bool
90         depends on UCLIBC_HAS_FLOATS && !UCLIBC_HAS_FPU
91         default y
92
93 config DO_C99_MATH
94         bool "Enable full C99 math library support"
95         depends on UCLIBC_HAS_FLOATS
96         default n
97         help
98           If you want the uClibc math library to contain the full set C99
99           math library features, then answer Y.  If you leave this set to
100           N the math library will contain only the math functions that were
101           listed as part of the traditional POSIX/IEEE 1003.1b-1993 standard.
102           Leaving this option set to N will save around 35k on an x86 system.
103
104           If your applications require the newer C99 math library functions, 
105           then answer Y.
106
107 config KERNEL_SOURCE
108         string "Linux kernel header location"
109         default "/usr/src/linux"
110         help
111           The kernel source you use to compile with should be the same as the
112           Linux kernel you run your apps on.  uClibc doesn't even try to achieve binary
113           compatibility across kernel versions.  So don't expect, for example, uClibc
114           compiled with Linux kernel 2.0.x to implement lchown properly, since 2.0.x
115           can't do that. Similarly, if you compile uClibc vs Linux 2.4.x kernel headers,
116           but then run on Linux 2.0.x, lchown will be compiled into uClibc, but won't
117           work at all.  You have been warned.
118
119 config UCLIBC_UCLINUX_BROKEN_MUNMAP
120         bool
121         depends on !ARCH_USE_MMU
122         default y
123
124 config EXCLUDE_BRK
125         bool
126         depends on !ARCH_USE_MMU
127         default y
128
129 config HAVE_DOT_CONFIG
130         bool
131         default y