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_KERNEL_EXPERIMENTAL
8 config ADK_KERNEL_STAGING
11 config ADK_KERNEL_CGROUP_CPUACCT
14 config ADK_KERNEL_CGROUP_DEVICE
17 config ADK_KERNEL_CGROUP_SCHED
20 config ADK_KERNEL_CGROUPS
23 config ADK_KERNEL_NAMESPACES
26 config ADK_KERNEL_FHANDLE
29 config ADK_KERNEL_AUDIT
32 config ADK_KERNEL_RESET_CONTROLLER
35 config ADK_KERNEL_BLK_DEV_INITRD
38 config ADK_KERNEL_BLK_DEV_RAM
41 config ADK_KERNEL_NETWORK_FILESYSTEMS
44 config ADK_KERNEL_IP_PNP
47 config ADK_KERNEL_IP_PNP_DHCP
50 config ADK_KERNEL_ROOT_NFS
53 config ADK_KERNEL_NFS_COMMON
56 config ADK_KERNEL_64BIT
58 default y if ADK_LINUX_64
61 config ADK_KERNEL_AEABI
63 default y if ADK_TARGET_ARCH_ARM
65 config ADK_KERNEL_ARM_THUMB
68 config ADK_KERNEL_THUMB2_KERNEL
72 config ADK_KERNEL_CPU_BIG_ENDIAN
74 default y if ADK_TARGET_BIG_ENDIAN
76 config ADK_KERNEL_CPU_LITTLE_ENDIAN
78 default y if ADK_TARGET_LITTLE_ENDIAN
82 config ADK_KERNEL_MODULE_UNLOAD
83 bool "Module unloading"
85 config ADK_KERNEL_HOTPLUG
88 config ADK_KERNEL_DEVTMPFS
91 config ADK_KERNEL_DEVTMPFS_MOUNT
93 select ADK_KERNEL_HOTPLUG
95 config ADK_KERNEL_UEVENT_HELPER
97 depends on ADK_RUNTIME_DEV_MDEV
98 default y if ADK_RUNTIME_DEV_MDEV
100 config ADK_KERNEL_UEVENT_HELPER_PATH
103 depends on ADK_RUNTIME_DEV_MDEV
105 config ADK_KERNEL_BINFMT_ELF
107 default y if ADK_TARGET_BINFMT_ELF
109 config ADK_KERNEL_BINFMT_ELF_FDPIC
111 default y if ADK_TARGET_BINFMT_FDPIC
113 config ADK_KERNEL_BINFMT_FLAT
115 default y if ADK_TARGET_BINFMT_FLAT
117 config ADK_KERNEL_BINFMT_SHARED_FLAT
119 default y if ADK_TARGET_BINFMT_FLAT_SHARED
121 config ADK_KERNEL_MMU
124 config ADK_KERNEL_VFP
126 default y if ADK_TARGET_CPU_WITH_FPU_VFP
128 config ADK_KERNEL_VFPv3
130 select ADK_KERNEL_VFP
131 default y if ADK_TARGET_CPU_WITH_FPU_VFPV3 || ADK_TARGET_CPU_WITH_FPU_VFPV4
133 config ADK_KERNEL_NEON
135 default y if ADK_TARGET_ARCH_ARM_WITH_NEON
137 config ADK_KERNEL_KERNEL_MODE_NEON
139 default y if ADK_TARGET_ARCH_ARM_WITH_NEON
141 config ADK_KERNEL_PATCH_REALTIME
145 prompt "preemptive mode"
147 config ADK_KERNEL_PREEMPT_NONE
148 bool "No Forced Preemption (Server)"
150 No Forced Preemption (Server)
152 config ADK_KERNEL_PREEMPT_VOLUNTARY
153 bool "Voluntary Kernel Preemption (Desktop)"
154 select ADK_KERNEL_HIGH_RES_TIMERS
156 Voluntary Kernel Preemption (Desktop)
158 config ADK_KERNEL_PREEMPT__LL
159 bool "Preemptible Kernel (Low-Latency Desktop)"
160 select ADK_KERNEL_HIGH_RES_TIMERS
162 Preemptible Kernel (Low-Latency Desktop)
164 config ADK_KERNEL_PREEMPT_RTB
165 bool "Preemptible Kernel (Basic RealTime)"
166 select ADK_KERNEL_HIGH_RES_TIMERS
167 select ADK_KERNEL_PATCH_REALTIME
168 depends on !ADK_KERNEL_OPROFILE
169 depends on ADK_TARGET_KERNEL_VERSION_4_1 \
170 || ADK_TARGET_KERNEL_VERSION_4_4 \
171 || ADK_TARGET_KERNEL_VERSION_4_9 \
172 || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
174 Preemptible Kernel (Basic RT)
176 config ADK_KERNEL_PREEMPT_RT_FULL
177 bool "Fully Preemptible Kernel (RealTime)"
178 select ADK_KERNEL_HIGH_RES_TIMERS
179 select ADK_KERNEL_PATCH_REALTIME
180 depends on !ADK_KERNEL_OPROFILE
181 depends on ADK_TARGET_KERNEL_VERSION_4_1 \
182 || ADK_TARGET_KERNEL_VERSION_4_4 \
183 || ADK_TARGET_KERNEL_VERSION_4_9 \
184 || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
186 Fully Preemptible Kernel (RealTime)
187 https://www.kernel.org/pub/linux/kernel/projects/rt/
191 config ADK_KERNEL_HIGH_RES_TIMERS
192 bool "Enable high resolution timers"
195 prompt "tick configuration"
197 config ADK_KERNEL_NO_HZ_IDLE
198 bool "no HZ IDLE, dynamic tick"
200 config ADK_KERNEL_NO_HZ_FULL
201 bool "no HZ FULL, dynamic tick"
203 config ADK_KERNEL_HZ_PERIODIC
210 depends on ADK_KERNEL_HZ_PERIODIC
212 config ADK_KERNEL_HZ_100
215 config ADK_KERNEL_HZ_500
218 config ADK_KERNEL_HZ_1000
223 config ADK_TARGET_NO_CMDLINE
224 bool "Do not builtin any kernel cmdline"
226 No kernel command line modifictaion is done.
228 config ADK_KERNEL_SMP
229 bool "Enable symmetric multi processing"
230 depends on ADK_TARGET_WITH_SMP
231 default y if ADK_TARGET_WITH_SMP
234 Enable symmetric multi processing support.
236 config ADK_KERNEL_HIGHMEM
237 bool "Enable high memory"
238 # produces broken kernel on bcm28xx
239 depends on !ADK_TARGET_BOARD_BCM28XX
240 default y if ADK_TARGET_SYSTEM_IBM_X40
241 default y if ADK_TARGET_MODEL_CUBOX_I4PRO
242 default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
243 default y if ADK_TARGET_MODEL_CUBOX_I2EX
244 default y if ADK_TARGET_SYSTEM_ASUS_P5BVM
245 default y if ADK_TARGET_SYSTEM_PCENGINES_APU
248 Enable high memory support.
250 config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
251 bool "Optimize for size"
252 # does not boot in qemu-microblaze
253 depends on !ADK_TARGET_ARCH_MICROBLAZE
259 depends on ADK_TARGET_ARCH_MIPS64
260 default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
261 default ADK_KERNEL_PAGE_SIZE_4KB
263 config ADK_KERNEL_PAGE_SIZE_4KB
266 config ADK_KERNEL_PAGE_SIZE_16KB
269 config ADK_KERNEL_PAGE_SIZE_64KB