-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig
202 lines (148 loc) · 2.87 KB
/
Kconfig
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
mainmenu "OS configuration"
choice
prompt "Architecture"
default ARCH_ARM
config ARCH_ARM
bool "ARM"
config ARCH_ARM64
bool "ARM64"
config ARCH_MIPS
bool "MIPS"
endchoice
source arch/Kconfig.features
if ARCH_ARM
source arch/arm/Kconfig
endif
if ARCH_ARM64
source arch/arm64/Kconfig
endif
if ARCH_MIPS
source arch/mips/Kconfig
endif
menu "Build options"
config BROKEN
bool
config BROKEN_ON_SMP
bool
default BROKEN || !SMP
config BUG
bool "BUG() support"
default y
config GC_SECTIONS
bool "Sections GC"
config GC_SECTIONS_SHOW
bool "Show sections GCed"
depends on GC_SECTIONS
config REMOVE_INIT_SECTIONS
bool "Remove init sections when not needed anymore"
default y
config CROSS_COMPILE
symbol "Cross compile prefix"
choice
prompt "image format"
default IMG_FORMAT_UIMG
optional
config IMG_FORMAT_NONE
bool "none"
config IMG_FORMAT_BIN
bool "binary"
config IMG_FORMAT_UIMG
bool "u-boot original format (.uimg)"
endchoice
config IMG_FORMAT
symbol
default uimg if IMG_FORMAT_UIMG
default bin if IMG_FORMAT_BIN
endmenu
menu "OS options"
menu "Stack options"
choice
prompt "Stack type"
default THREAD_STACK
config THREAD_STACK
bool "embedded into struct thread"
config THREAD_STACK_SHIFT
int "Size of the stacks, in power of 2"
depends on THREAD_STACK
range 6 14 if NOMMU
default 8 if NOMMU
range 12 14
default 14
config EXTERN_STACK
bool "separated from struct thread"
endchoice
config INTERRUPT_STACK
bool "interrupt stack?"
depends on !THREAD_STACK
default n
config INTERRUPT_STACK_SIZE
int "Interrupt stack size"
depends on INTERRUPT_STACK
default 4096
config EXCEPTION_STACK_SIZE
int "Exception stack size"
default 4096
config STARTUP_STACK_SIZE
int "startup stack size"
depends on !THREAD_STACK
default 4096
config STACK_ALIGNMENT
int "Stacks alignment"
default 16
endmenu
config NR_THREAD_PRIORITY
int "Number of threads priority levels"
range 2 32
default 32
config SOFTIRQ
bool "Need softirq?"
default n
config KSOFTIRQ
bool "Use a specific thread for delaying softirq"
depends on SOFTIRQ
default n
config DSR
bool "Want DSR?"
depends on SOFTIRQ
default n
config HAS_SMP
bool
default n
config SMP
bool "SMP support"
depends on HAS_SMP
default y
config HZ
int "tick frequency"
default 32768
config XSMALL
bool "Xsmall kernel" if BOOT
default n
config INITCALL
bool "initcalls support" if XSMALL
default !XSMALL
config IRQ_HANDLER
bool "interrupt support" if XSMALL
default y
config BOOT
bool "Direct boot, without a bootloader"
default n
config BOOTER
bool "Small bootloader"
depends on BOOT
select XSMALL
config BOOTADDR
hex "Address to jump to after boot setup"
depends on BOOTER
default PHYS_ADDR
endmenu
menu "DMA"
config DMA_STREAMING
bool
endmenu
source mm/Kconfig
source fs/Kconfig
source net/Kconfig
source drivers/Kconfig
source kernel/debug/Kconfig
source tests/Kconfig