linux: update to 6.10.x, 6.9.x is EOL
[openadk.git] / target / linux / config / Config.in.kernel
blobe2b6199261479c1f2d12e23be0759721447b2381
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 config ADK_LINUX_KERNEL_EXPERIMENTAL
5         bool
6         default y
8 config ADK_LINUX_KERNEL_MODULE_COMPRESS_NONE
9         bool
10         default y
12 config ADK_LINUX_KERNEL_STAGING
13         bool
15 config ADK_LINUX_KERNEL_CGROUP_CPUACCT
16         bool
18 config ADK_LINUX_KERNEL_CGROUP_DEVICE
19         bool
21 config ADK_LINUX_KERNEL_CGROUP_SCHED
22         bool
24 config ADK_LINUX_KERNEL_CGROUPS
25         bool
27 config ADK_LINUX_KERNEL_NAMESPACES
28         bool
30 config ADK_LINUX_KERNEL_UTS_NS
31         bool
33 config ADK_LINUX_KERNEL_FHANDLE
34         bool
36 config ADK_LINUX_KERNEL_AUDIT
37         bool
39 config ADK_LINUX_KERNEL_RESET_CONTROLLER
40         bool
42 config ADK_LINUX_KERNEL_BLK_DEV_INITRD
43         bool
45 config ADK_LINUX_KERNEL_BLK_DEV_RAM
46         bool
48 config ADK_LINUX_KERNEL_NETWORK_FILESYSTEMS
49         bool
51 config ADK_LINUX_KERNEL_IP_PNP
52         bool
54 config ADK_LINUX_KERNEL_IP_PNP_DHCP
55         bool
57 config ADK_LINUX_KERNEL_ROOT_NFS
58         bool
60 config ADK_LINUX_KERNEL_NFS_COMMON
61         bool
63 config ADK_LINUX_KERNEL_64BIT
64         bool
65         default y if ADK_LINUX_64
67 # ARM specific
68 config ADK_LINUX_KERNEL_AEABI
69         bool
70         default y if ADK_TARGET_ARCH_ARM
72 config ADK_LINUX_KERNEL_ARM_THUMB
73         bool
75 config ADK_LINUX_KERNEL_THUMB2_KERNEL
76         bool
78 # endianess
79 config ADK_LINUX_KERNEL_CPU_BIG_ENDIAN
80         bool
81         default y if ADK_TARGET_BIG_ENDIAN
83 config ADK_LINUX_KERNEL_CPU_LITTLE_ENDIAN
84         bool
85         default y if ADK_TARGET_LITTLE_ENDIAN
87 menu "Kernel options"
89 config ADK_LINUX_KERNEL_MODULE_UNLOAD
90         bool "Module unloading"
92 config ADK_LINUX_KERNEL_HOTPLUG
93         bool
95 config ADK_LINUX_KERNEL_DEVTMPFS
96         bool
98 config ADK_LINUX_KERNEL_DEVTMPFS_MOUNT
99         bool
100         select ADK_LINUX_KERNEL_HOTPLUG
102 config ADK_LINUX_KERNEL_UEVENT_HELPER
103         bool
104         depends on ADK_RUNTIME_DEV_MDEV
105         default y if ADK_RUNTIME_DEV_MDEV
107 config ADK_LINUX_KERNEL_UEVENT_HELPER_PATH
108         string
109         default "/sbin/mdev"
110         depends on ADK_RUNTIME_DEV_MDEV
112 config ADK_LINUX_KERNEL_BINFMT_ELF
113         bool
114         default y if ADK_TARGET_BINFMT_ELF
116 config ADK_LINUX_KERNEL_BINFMT_ELF_FDPIC
117         bool
118         default y if ADK_TARGET_BINFMT_FDPIC
119         default y if !ADK_TARGET_WITH_MMU && ADK_TARGET_BINFMT_ELF
121 config ADK_LINUX_KERNEL_BINFMT_FLAT
122         bool
123         default y if ADK_TARGET_BINFMT_FLAT
125 config ADK_LINUX_KERNEL_BINFMT_SHARED_FLAT
126         bool
127         default y if ADK_TARGET_BINFMT_FLAT_SHARED
129 config ADK_LINUX_KERNEL_MMU
130         bool
132 config ADK_LINUX_KERNEL_VFP
133         bool
134         default y if ADK_TARGET_CPU_WITH_FPU_VFP
136 config ADK_LINUX_KERNEL_VFPv3
137         bool
138         select ADK_LINUX_KERNEL_VFP
139         default y if ADK_TARGET_CPU_WITH_FPU_VFPV3 || ADK_TARGET_CPU_WITH_FPU_VFPV4
141 config ADK_LINUX_KERNEL_NEON
142         bool
143         default y if ADK_TARGET_ARCH_ARM_WITH_NEON
145 config ADK_LINUX_KERNEL_KERNEL_MODE_NEON
146         bool
147         default y if ADK_TARGET_ARCH_ARM_WITH_NEON
149 config ADK_LINUX_KERNEL_MIPS_FP_SUPPORT
150         bool
151         default y
153 config ADK_LINUX_KERNEL_PATCH_REALTIME
154         bool
155         
156 choice
157 prompt "preemptive mode"
159 config ADK_LINUX_KERNEL_PREEMPT_NONE
160         bool "No Forced Preemption (Server)"
161         help
162           No Forced Preemption (Server)
164 config ADK_LINUX_KERNEL_PREEMPT_VOLUNTARY
165         bool "Voluntary Kernel Preemption (Desktop)"
166         select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
167         help
168           Voluntary Kernel Preemption (Desktop)
170 config ADK_LINUX_KERNEL_PREEMPT__LL
171         bool "Preemptible Kernel (Low-Latency Desktop)"
172         select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
173         help
174           Preemptible Kernel (Low-Latency Desktop)
176 config ADK_LINUX_KERNEL_PREEMPT_RTB
177         bool "Preemptible Kernel (Basic RealTime)"
178         select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
179         select ADK_LINUX_KERNEL_PATCH_REALTIME
180         depends on !ADK_LINUX_KERNEL_OPROFILE
181         depends on ADK_TARGET_KERNEL_VERSION_4_4 \
182                 || ADK_TARGET_KERNEL_VERSION_4_9 \
183                 || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
184         help
185           Preemptible Kernel (Basic RT)
187 config ADK_LINUX_KERNEL_PREEMPT_RT_FULL
188         bool "Fully Preemptible Kernel (RealTime)"
189         select ADK_LINUX_KERNEL_HIGH_RES_TIMERS
190         select ADK_LINUX_KERNEL_PATCH_REALTIME
191         depends on !ADK_LINUX_KERNEL_OPROFILE
192         depends on ADK_TARGET_KERNEL_VERSION_4_4 \
193                 || ADK_TARGET_KERNEL_VERSION_4_9 \
194                 || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
195         help
196           Fully Preemptible Kernel (RealTime)
197           https://www.kernel.org/pub/linux/kernel/projects/rt/
199 endchoice
201 config ADK_LINUX_KERNEL_HIGH_RES_TIMERS
202         bool "Enable high resolution timers"
204 choice
205 prompt "tick configuration"
207 config ADK_LINUX_KERNEL_NO_HZ_IDLE
208         bool "no HZ IDLE, dynamic tick"
210 config ADK_LINUX_KERNEL_NO_HZ_FULL
211         bool "no HZ FULL, dynamic tick"
213 config ADK_LINUX_KERNEL_HZ_PERIODIC
214         bool "periodic tick"
216 endchoice
218 choice
219 prompt "HZ"
220 depends on ADK_LINUX_KERNEL_HZ_PERIODIC
222 config ADK_LINUX_KERNEL_HZ_100
223         bool "100 HZ"
225 config ADK_LINUX_KERNEL_HZ_500
226         bool "500 HZ"
228 config ADK_LINUX_KERNEL_HZ_1000
229         bool "1000 HZ"
231 endchoice
233 config ADK_TARGET_NO_CMDLINE
234         bool "Do not builtin any kernel cmdline"
235         help
236           No kernel command line modifictaion is done.
238 config ADK_LINUX_KERNEL_SMP
239         bool "Enable symmetric multi processing"
240         depends on ADK_TARGET_WITH_SMP
241         default y if ADK_TARGET_WITH_SMP
242         default n
243         help
244           Enable symmetric multi processing support.
246 config ADK_LINUX_KERNEL_HIGHMEM
247         bool "Enable high memory"
248         # produces broken kernel on bcm28xx
249         depends on !ADK_TARGET_BOARD_BCM28XX
250         default y if ADK_TARGET_MODEL_CUBOX_I4PRO
251         default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
252         default y if ADK_TARGET_MODEL_CUBOX_I2EX
253         default y if ADK_TARGET_SYSTEM_PCENGINES_APU
254         default n
255         help
256           Enable high memory support.
258 config ADK_LINUX_KERNEL_CC_OPTIMIZE_FOR_SIZE
259         bool "Optimize for size"
260         # does not boot in qemu-microblaze
261         depends on !ADK_TARGET_ARCH_MICROBLAZE && \
262                    !ADK_TARGET_ARCH_RISC64 && \
263                    !ADK_TARGET_ARCH_KVX
264         default y
266 config ADK_LINUX_KERNEL_IKCONFIG
267         tristate
269 config ADK_LINUX_KERNEL_IKCONFIG_PROC
270         bool "Enable access to .config through /proc/config.gz"
271         select ADK_LINUX_KERNEL_IKCONFIG
272         default n
274 config ADK_LINUX_KERNEL_BSD_PROCESS_ACCT
275         bool "BSD Process Accounting"
276         default n
278 config ADK_LINUX_KERNEL_NAMESPACES
279         bool
280         default n
282 config ADK_LINUX_KERNEL_GENERIC_VDSO_TIME_NS
283         bool
284         default n
286 config ADK_LINUX_KERNEL_USER_NS
287         bool "User namespace"
288         select ADK_LINUX_KERNEL_NAMESPACES
289         default n
291 config ADK_LINUX_KERNEL_NET_NS
292         bool "Network namespace"
293         select ADK_LINUX_KERNEL_NAMESPACES
294         default n
296 config ADK_LINUX_KERNEL_TIME_NS
297         bool "Network namespace"
298         select ADK_LINUX_KERNEL_NAMESPACES
299         select ADK_LINUX_KERNEL_GENERIC_VDSO_TIME_NS
300         default n
302 config ADK_LINUX_KERNEL_BPF
303         bool
304         default n
306 config ADK_LINUX_KERNEL_BPF_SYSCALL
307         bool "Enable bpf() syscall"
308         select ADK_LINUX_KERNEL_BPF
309         default n
311 config ADK_LINUX_KERNEL_WATCH_QUEUE
312         bool "General notification queue"
313         default n
315 config ADK_LINUX_KERNEL_MEMCG
316         bool
317         default n
319 config ADK_LINUX_KERNEL_BLK_CGROUP
320         bool
321         default n
323 config ADK_LINUX_KERNEL_CGROUP_SCHED
324         bool
325         default n
327 config ADK_LINUX_KERNEL_CGROUP_PIDS
328         bool
329         default n
331 config ADK_LINUX_KERNEL_CGROUPS
332         bool "Control group support"
333         select ADK_LINUX_KERNEL_MEMCG
334         select ADK_LINUX_KERNEL_BLK_CGROUP
335         select ADK_LINUX_KERNEL_CGROUP_SCHED
336         select ADK_LINUX_KERNEL_CGROUP_PIDS
337         default n
339 choice
340 prompt "Page size"
341 depends on ADK_TARGET_ARCH_MIPS64
342 default ADK_LINUX_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
343 default ADK_LINUX_KERNEL_PAGE_SIZE_4KB
345 config ADK_LINUX_KERNEL_PAGE_SIZE_4KB
346         bool "4kB"
348 config ADK_LINUX_KERNEL_PAGE_SIZE_16KB
349         bool "16kB"
351 config ADK_LINUX_KERNEL_PAGE_SIZE_64KB
352         bool "64kB"
354 endchoice
356 endmenu