summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.kernel
blob: a0a681c6db3dd970780c04d3f41529f68bf795bd (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
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
config ADK_KERNEL_STAGING
	bool

config ADK_KERNEL_EXPERIMENTAL
	bool

config ADK_KERNEL_RESET_CONTROLLER
        bool

config ADK_KERNEL_BLK_DEV_INITRD
	bool

config ADK_KERNEL_BLK_DEV_RAM
	bool

config ADK_KERNEL_INITRAMFS_COMPRESSION_NONE
	bool

config ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
	bool
	select ADK_HOST_NEED_XZ

config ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
	bool
	select ADK_HOST_NEED_LZ4

config ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
	bool
	select ADK_HOST_NEED_LZMA

config ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
	bool
	select ADK_HOST_NEED_LZOP

config ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
	bool
	select ADK_HOST_NEED_BZIP2

config ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
	bool

config ADK_KERNEL_RD_GZIP
	bool

config ADK_KERNEL_KERNEL_GZIP
	bool

config ADK_KERNEL_RD_BZIP2
	bool

config ADK_KERNEL_KERNEL_BZIP2
	bool

config ADK_KERNEL_RD_LZ4
	bool

config ADK_KERNEL_KERNEL_LZ4
	bool

config ADK_KERNEL_RD_LZMA
	bool

config ADK_KERNEL_KERNEL_LZMA
	bool

config ADK_KERNEL_RD_LZO
	bool

config ADK_KERNEL_KERNEL_LZO
	bool

config ADK_KERNEL_RD_XZ
	bool

config ADK_KERNEL_KERNEL_XZ
	bool

config ADK_KERNEL_INITRAMFS_SOURCE
	string
	default ""

config ADK_KERNEL_NETWORK_FILESYSTEMS
	bool

config ADK_KERNEL_IP_PNP
	bool

config ADK_KERNEL_IP_PNP_DHCP
	bool

config ADK_KERNEL_ROOT_NFS
	bool

config ADK_KERNEL_NFS_COMMON
	bool

config ADK_KERNEL_64BIT
	bool
	default y if ADK_LINUX_64

config ADK_KERNEL_CPU_MIPS64
	bool

config ADK_KERNEL_CPU_MIPS64_R1
	bool

config ADK_KERNEL_CPU_MIPS64_R2
	bool

# ARM specific
config ADK_KERNEL_AEABI
	bool
	default y if ADK_TARGET_ARCH_ARM

config ADK_KERNEL_THUMB2_KERNEL
	bool

# endianess
config ADK_KERNEL_CPU_BIG_ENDIAN
	bool
	default y if ADK_TARGET_BIG_ENDIAN

config ADK_KERNEL_CPU_LITTLE_ENDIAN
	bool
	default y if ADK_TARGET_LITTLE_ENDIAN

choice
prompt "Kernel Compression"
depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
default ADK_KERNEL_COMP_GZIP if ADK_TARGET_BOARD_BCM28XX

config ADK_KERNEL_COMP_XZ
	bool "use XZ compression"
	select ADK_KERNEL_RD_XZ
	select ADK_KERNEL_KERNEL_XZ
	select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
	depends on !ADK_TARGET_UCLINUX

config ADK_KERNEL_COMP_LZ4
	bool "use LZ4 compression"
	select ADK_KERNEL_RD_LZ4
	select ADK_KERNEL_KERNEL_LZ4
	select ADK_KERNEL_INITRAMFS_COMPRESSION_LZ4
	depends on ADK_TARGET_ARCH_X86 || ADK_TARGET_ARCH_ARM
	depends on !ADK_TARGET_UCLINUX

config ADK_KERNEL_COMP_LZMA
	bool "use LZMA compression"
	select ADK_KERNEL_RD_LZMA
	select ADK_KERNEL_KERNEL_LZMA
	select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
	depends on !ADK_TARGET_UCLINUX

config ADK_KERNEL_COMP_LZO
	bool "use LZO compression"
	select ADK_KERNEL_RD_LZO
	select ADK_KERNEL_KERNEL_LZO
	select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
	depends on !ADK_TARGET_UCLINUX

config ADK_KERNEL_COMP_BZIP2
	bool "use BZIP2 compression"
	select ADK_KERNEL_RD_BZIP2
	select ADK_KERNEL_KERNEL_BZIP2
	select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
	depends on !ADK_TARGET_UCLINUX

config ADK_KERNEL_COMP_GZIP
	bool "use GZIP compression"
	select ADK_KERNEL_RD_GZIP
	select ADK_KERNEL_KERNEL_GZIP
	select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP

endchoice

menu "Kernel options"

config ADK_KERNEL_UEVENT_HELPER_PATH
	string
	default "/sbin/mdev"
	depends on ADK_RUNTIME_DEV_MDEV

config ADK_KERNEL_BINFMT_FLAT
	bool
	default y if ADK_TARGET_BINFMT_FLAT

config ADK_KERNEL_MMU
	bool

config ADK_KERNEL_VFP
	bool
	default y if ADK_TARGET_CPU_WITH_FPU_VFP

config ADK_KERNEL_VFPv3
	bool
	select ADK_KERNEL_VFP
	default y if ADK_TARGET_CPU_WITH_FPU_VFPV3

config ADK_KERNEL_VFPv4
	bool
	select ADK_KERNEL_VFP
	default y if ADK_TARGET_CPU_WITH_FPU_VFPV4

config ADK_KERNEL_NEON
	bool
	default y if ADK_TARGET_ARCH_ARM_WITH_NEON

config ADK_KERNEL_MODE_NEON
	bool
	default y if ADK_TARGET_ARCH_ARM_WITH_NEON

config ADK_TARGET_NO_CMDLINE
	bool "Do not builtin any kernel cmdline"
	help
	  No kernel command line modifictaion is done.

config ADK_KERNEL_SMP
	bool "Enable symmetric multi processing"
	depends on ADK_TARGET_WITH_SMP
	default y if ADK_TARGET_WITH_SMP
	default n
	help
	  Enable symmetric multi processing support.

config ADK_KERNEL_HIGHMEM
	bool "Enable high memory"
	default y if ADK_TARGET_CUBOX_I4PRO
	default y if ADK_TARGET_CUBOX_I2ULTRA
	default y if ADK_TARGET_CUBOX_I2EX
	default y if ADK_TARGET_SYSTEM_IBM_X40
	default n
	help
	  Enable high memory support.

config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
	bool "Optimize for size"
	# does not boot in qemu-microblaze
	depends on !ADK_TARGET_ARCH_MICROBLAZE
	default y

config ADK_KERNEL_PREEMPT
	bool "Enable preemptive kernel"
	help
	  Enable preemptive mode.


choice
prompt "tick configuration"

config ADK_KERNEL_NO_HZ_IDLE
	bool "no HZ IDLE, dynamic tick"

config ADK_KERNEL_NO_HZ_FULL
	bool "no HZ FULL, dynamic tick"

config ADK_KERNEL_HZ_PERIODIC
	bool "periodic tick"

endchoice

choice
prompt "HZ"
depends on ADK_KERNEL_HZ_PERIODIC

config ADK_KERNEL_HZ_100
	bool "100 HZ"

config ADK_KERNEL_HZ_500
	bool "500 HZ"

config ADK_KERNEL_HZ_1000
	bool "1000 HZ"

endchoice

config ADK_KERNEL_HIGH_RES_TIMERS
	bool "Enable high resolution timers"
	help

comment "uses experimental external patch"
config ADK_KERNEL_PREEMPT_RT_FULL
        bool "Enable Realtime support"
	depends on ADK_KERNEL_VERSION_3_18 \
		|| ADK_KERNEL_VERSION_3_14
        help
	  https://www.kernel.org/pub/linux/kernel/projects/rt/

choice
prompt "Page size"
depends on ADK_TARGET_ARCH_MIPS64
default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default ADK_KERNEL_PAGE_SIZE_4KB

config ADK_KERNEL_PAGE_SIZE_4KB
	bool "4kB"

config ADK_KERNEL_PAGE_SIZE_16KB
	bool "16kB"

config ADK_KERNEL_PAGE_SIZE_64KB
	bool "64kB"

endchoice
endmenu