OSDN Git Service

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