blob: fcca7de5b7cd8b8f6e0193bef66d6c0e0205f431 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/config-language.txt.
#
mainmenu "uClibc C Library Configuration"
menu "Target Architecture Features and Options"
config HAVE_ELF
bool
default y
config C_SYMBOL_PREFIX
string
default ""
config ARCH_CFLAGS
string
default ""
config ARCH_LDFLAGS
string
default ""
config LIBGCC_CFLAGS
string
default ""
config HAVE_DOT_HIDDEN
bool
default y
choice
prompt "Target Processor Type"
default CONFIG_GENERIC_ARM
help
This is the processor type of your CPU. This information is used for
optimizing purposes, as well as to determine if your CPU has an MMU,
an FPU, etc. If you pick the wrong CPU type, there is no guarantee
that uClibc will work at all....
Here are the available choices:
- "SH2" Hitachi SH2
- "SH3" Hitachi SH3
- "SH4" Hitachi SH4
- "SH5" Hitachi SH5
config CONFIG_SH2
bool "SH2"
config CONFIG_SH3
bool "SH3"
config CONFIG_SH4
bool "SH4"
config CONFIG_SH5
bool "SH5"
endchoice
choice
prompt "Target Processor Endianness"
default ARCH_LITTLE_ENDIAN
help
This is the endianness you wish to build use. Choose either Big
Endian, or Little Endian.
config ARCH_LITTLE_ENDIAN
bool "Little Endian"
config ARCH_BIG_ENDIAN
bool "Big Endian"
endchoice
config ARCH_HAS_NO_MMU
bool
default y if CONFIG_SH2 || CONFIG_SH3
config CPU_CFLAGS
string
default "-DHIOS -ml -m2" if CONFIG_SH2 && ARCH_LITTLE_ENDIAN
default "-DHIOS -mb -m2" if CONFIG_SH2 && ARCH_BIG_ENDIAN
default "-DHIOS -ml -m3" if CONFIG_SH3 && ARCH_LITTLE_ENDIAN
default "-DHIOS -mb -m3" if CONFIG_SH3 && ARCH_BIG_ENDIAN
default "-DHIOS -ml -m4" if CONFIG_SH4 && ARCH_LITTLE_ENDIAN
default "-DHIOS -mb -m4" if CONFIG_SH4 && ARCH_BIG_ENDIAN
default "-DHIOS -ml -m5" if CONFIG_SH5 && ARCH_LITTLE_ENDIAN
default "-DHIOS -mb -m5" if CONFIG_SH5 && ARCH_BIG_ENDIAN
source "extra/Configs/Config.in.arch"
endmenu
source "extra/Configs/Config.in"
|