| 1 | #
|
|---|
| 2 | # Copyright (c) 2006 Ondrej Palkovsky
|
|---|
| 3 | # Copyright (c) 2009 Martin Decky
|
|---|
| 4 | # All rights reserved.
|
|---|
| 5 | #
|
|---|
| 6 | # Redistribution and use in source and binary forms, with or without
|
|---|
| 7 | # modification, are permitted provided that the following conditions
|
|---|
| 8 | # are met:
|
|---|
| 9 | #
|
|---|
| 10 | # - Redistributions of source code must retain the above copyright
|
|---|
| 11 | # notice, this list of conditions and the following disclaimer.
|
|---|
| 12 | # - Redistributions in binary form must reproduce the above copyright
|
|---|
| 13 | # notice, this list of conditions and the following disclaimer in the
|
|---|
| 14 | # documentation and/or other materials provided with the distribution.
|
|---|
| 15 | # - The name of the author may not be used to endorse or promote products
|
|---|
| 16 | # derived from this software without specific prior written permission.
|
|---|
| 17 | #
|
|---|
| 18 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|---|
| 19 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|---|
| 20 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|---|
| 21 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|---|
| 22 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|---|
| 23 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|---|
| 24 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|---|
| 25 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|---|
| 26 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|---|
| 27 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|---|
| 28 | #
|
|---|
| 29 |
|
|---|
| 30 | ## General platform options
|
|---|
| 31 |
|
|---|
| 32 | % Platform
|
|---|
| 33 | @ "abs32le" abstract 32-bit little endian
|
|---|
| 34 | @ "amd64" AMD64/EM64T 64-bit (PC)
|
|---|
| 35 | @ "arm32" ARM 32-bit
|
|---|
| 36 | @ "ia32" IA-32 32-bit (PC)
|
|---|
| 37 | @ "ia64" IA-64 64-bit
|
|---|
| 38 | @ "mips32" MIPS 32-bit
|
|---|
| 39 | @ "ppc32" PowerPC 32-bit
|
|---|
| 40 | @ "riscv64" RISC-V 64-bit
|
|---|
| 41 | @ "sparc64" SPARCv9 64-bit
|
|---|
| 42 | ! PLATFORM (choice)
|
|---|
| 43 |
|
|---|
| 44 | % Machine type
|
|---|
| 45 | @ "msim" MSIM
|
|---|
| 46 | @ "bmalta" MIPS Malta Development Board big endian
|
|---|
| 47 | @ "lmalta" MIPS Malta Development Board little endian
|
|---|
| 48 | ! [PLATFORM=mips32] MACHINE (choice)
|
|---|
| 49 |
|
|---|
| 50 | % Machine type
|
|---|
| 51 | @ "i460GX" i460GX chipset machine
|
|---|
| 52 | @ "ski" Ski ia64 simulator
|
|---|
| 53 | ! [PLATFORM=ia64] MACHINE (choice)
|
|---|
| 54 |
|
|---|
| 55 | % Machine type
|
|---|
| 56 | @ "generic" Generic Sun workstation or server
|
|---|
| 57 | ! [PLATFORM=sparc64] MACHINE (choice)
|
|---|
| 58 |
|
|---|
| 59 | % Machine type
|
|---|
| 60 | @ "gta02" GTA02 / Neo FreeRunner
|
|---|
| 61 | @ "integratorcp" Integratorcp
|
|---|
| 62 | @ "beagleboardxm" BeagleBoard-xM
|
|---|
| 63 | @ "beaglebone" BeagleBone
|
|---|
| 64 | @ "raspberrypi" Raspberry Pi
|
|---|
| 65 | ! [PLATFORM=arm32] MACHINE (choice)
|
|---|
| 66 |
|
|---|
| 67 | % CPU type
|
|---|
| 68 | @ "pentium4" Pentium 4
|
|---|
| 69 | @ "pentium3" Pentium 3
|
|---|
| 70 | @ "core" Core Solo/Duo
|
|---|
| 71 | @ "athlon_xp" Athlon XP
|
|---|
| 72 | @ "athlon_mp" Athlon MP
|
|---|
| 73 | @ "i486" i486
|
|---|
| 74 | ! [PLATFORM=ia32] PROCESSOR (choice)
|
|---|
| 75 |
|
|---|
| 76 | % CPU type
|
|---|
| 77 | @ "opteron" Opteron
|
|---|
| 78 | ! [PLATFORM=amd64] PROCESSOR (choice)
|
|---|
| 79 |
|
|---|
| 80 | % CPU type
|
|---|
| 81 | @ "us" UltraSPARC I-II subarchitecture
|
|---|
| 82 | @ "us3" UltraSPARC III-IV subarchitecture
|
|---|
| 83 | @ "sun4v" Niagara (sun4v)
|
|---|
| 84 | ! [PLATFORM=sparc64&MACHINE=generic] PROCESSOR (choice)
|
|---|
| 85 |
|
|---|
| 86 | % CPU type
|
|---|
| 87 | @ "cortex_a8" ARM Cortex A-8
|
|---|
| 88 | ! [PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] PROCESSOR (choice)
|
|---|
| 89 |
|
|---|
| 90 | % CPU type
|
|---|
| 91 | @ "arm920t" ARM920T
|
|---|
| 92 | ! [PLATFORM=arm32&MACHINE=gta02] PROCESSOR (choice)
|
|---|
| 93 |
|
|---|
| 94 | % CPU type
|
|---|
| 95 | @ "arm926ej_s" ARM926EJ-S
|
|---|
| 96 | ! [PLATFORM=arm32&MACHINE=integratorcp] PROCESSOR (choice)
|
|---|
| 97 |
|
|---|
| 98 | % CPU type
|
|---|
| 99 | @ "arm1176" ARM1176
|
|---|
| 100 | ! [PLATFORM=arm32&MACHINE=raspberrypi] PROCESSOR (choice)
|
|---|
| 101 |
|
|---|
| 102 | # Add more ARMv4 CPUs
|
|---|
| 103 | % CPU arch
|
|---|
| 104 | @ "armv4" ARMv4
|
|---|
| 105 | ! [PLATFORM=arm32&(PROCESSOR=arm920t)] PROCESSOR_ARCH (choice)
|
|---|
| 106 |
|
|---|
| 107 | # Add more ARMv5 CPUs
|
|---|
| 108 | % CPU arch
|
|---|
| 109 | @ "armv5" ARMv5
|
|---|
| 110 | ! [PLATFORM=arm32&(PROCESSOR=arm926ej_s)] PROCESSOR_ARCH (choice)
|
|---|
| 111 |
|
|---|
| 112 | # Add more ARMv6 CPUs
|
|---|
| 113 | % CPU arch
|
|---|
| 114 | @ "armv6" ARMv6
|
|---|
| 115 | ! [PLATFORM=arm32&(PROCESSOR=arm1176)] PROCESSOR_ARCH (choice)
|
|---|
| 116 |
|
|---|
| 117 | # Add more ARMv7-A CPUs
|
|---|
| 118 | % CPU arch
|
|---|
| 119 | @ "armv7_a" ARMv7-A
|
|---|
| 120 | ! [PLATFORM=arm32&(PROCESSOR=cortex_a8)] PROCESSOR_ARCH (choice)
|
|---|
| 121 |
|
|---|
| 122 | % CPU type
|
|---|
| 123 | @ "R4000" MIPS R4000
|
|---|
| 124 | ! [PLATFORM=mips32&MACHINE=msim] PROCESSOR (choice)
|
|---|
| 125 |
|
|---|
| 126 | % CPU type
|
|---|
| 127 | @ "4Kc" MIPS 4Kc
|
|---|
| 128 | ! [PLATFORM=mips32&(MACHINE=bmalta|MACHINE=lmalta)] PROCESSOR (choice)
|
|---|
| 129 |
|
|---|
| 130 | % Kernel memory model
|
|---|
| 131 | @ "kernel" Kernel
|
|---|
| 132 | @ "large" Large
|
|---|
| 133 | ! [PLATFORM=amd64] MEMORY_MODEL (choice)
|
|---|
| 134 |
|
|---|
| 135 | % RAM disk format
|
|---|
| 136 | @ "tmpfs" TMPFS image
|
|---|
| 137 | @ "fat" FAT16 image
|
|---|
| 138 | @ "ext4fs" ext4 image
|
|---|
| 139 | ! RDFMT (choice)
|
|---|
| 140 |
|
|---|
| 141 |
|
|---|
| 142 | ## Mapping between platform and kernel architecture
|
|---|
| 143 |
|
|---|
| 144 | % Kernel architecture
|
|---|
| 145 | @ "abs32le"
|
|---|
| 146 | ! [PLATFORM=abs32le] KARCH (choice)
|
|---|
| 147 |
|
|---|
| 148 | % Kernel architecture
|
|---|
| 149 | @ "amd64"
|
|---|
| 150 | ! [PLATFORM=amd64] KARCH (choice)
|
|---|
| 151 |
|
|---|
| 152 | % Kernel architecture
|
|---|
| 153 | @ "arm32"
|
|---|
| 154 | ! [PLATFORM=arm32] KARCH (choice)
|
|---|
| 155 |
|
|---|
| 156 | % Kernel architecture
|
|---|
| 157 | @ "ia32"
|
|---|
| 158 | ! [PLATFORM=ia32] KARCH (choice)
|
|---|
| 159 |
|
|---|
| 160 | % Kernel architecture
|
|---|
| 161 | @ "ia32xen"
|
|---|
| 162 | ! [PLATFORM=ia32xen] KARCH (choice)
|
|---|
| 163 |
|
|---|
| 164 | % Kernel architecture
|
|---|
| 165 | @ "ia64"
|
|---|
| 166 | ! [PLATFORM=ia64] KARCH (choice)
|
|---|
| 167 |
|
|---|
| 168 | % Kernel architecture
|
|---|
| 169 | @ "mips32"
|
|---|
| 170 | ! [PLATFORM=mips32] KARCH (choice)
|
|---|
| 171 |
|
|---|
| 172 | % Kernel architecture
|
|---|
| 173 | @ "ppc32"
|
|---|
| 174 | ! [PLATFORM=ppc32] KARCH (choice)
|
|---|
| 175 |
|
|---|
| 176 | % Kernel architecture
|
|---|
| 177 | @ "ppc64"
|
|---|
| 178 | ! [PLATFORM=ppc64] KARCH (choice)
|
|---|
| 179 |
|
|---|
| 180 | % Kernel architecture
|
|---|
| 181 | @ "riscv64"
|
|---|
| 182 | ! [PLATFORM=riscv64] KARCH (choice)
|
|---|
| 183 |
|
|---|
| 184 | % Kernel architecture
|
|---|
| 185 | @ "sparc64"
|
|---|
| 186 | ! [PLATFORM=sparc64] KARCH (choice)
|
|---|
| 187 |
|
|---|
| 188 |
|
|---|
| 189 | ## Mapping between platform and user space architecture
|
|---|
| 190 |
|
|---|
| 191 | % User space architecture
|
|---|
| 192 | @ "abs32le"
|
|---|
| 193 | ! [PLATFORM=abs32le] UARCH (choice)
|
|---|
| 194 |
|
|---|
| 195 | % User space architecture
|
|---|
| 196 | @ "amd64"
|
|---|
| 197 | ! [PLATFORM=amd64] UARCH (choice)
|
|---|
| 198 |
|
|---|
| 199 | % User space architecture
|
|---|
| 200 | @ "arm32"
|
|---|
| 201 | ! [PLATFORM=arm32] UARCH (choice)
|
|---|
| 202 |
|
|---|
| 203 | % User space architecture
|
|---|
| 204 | @ "ia32"
|
|---|
| 205 | ! [PLATFORM=ia32|PLATFORM=ia32xen] UARCH (choice)
|
|---|
| 206 |
|
|---|
| 207 | % User space architecture
|
|---|
| 208 | @ "ia64"
|
|---|
| 209 | ! [PLATFORM=ia64] UARCH (choice)
|
|---|
| 210 |
|
|---|
| 211 | % User space architecture
|
|---|
| 212 | @ "mips32"
|
|---|
| 213 | ! [PLATFORM=mips32&(MACHINE=msim|MACHINE=lmalta)] UARCH (choice)
|
|---|
| 214 |
|
|---|
| 215 | % User space architecture
|
|---|
| 216 | @ "mips32eb"
|
|---|
| 217 | ! [PLATFORM=mips32&MACHINE=bmalta] UARCH (choice)
|
|---|
| 218 |
|
|---|
| 219 | % User space architecture
|
|---|
| 220 | @ "ppc32"
|
|---|
| 221 | ! [PLATFORM=ppc32] UARCH (choice)
|
|---|
| 222 |
|
|---|
| 223 | % User space architecture
|
|---|
| 224 | @ "ppc64"
|
|---|
| 225 | ! [PLATFORM=ppc64] UARCH (choice)
|
|---|
| 226 |
|
|---|
| 227 | % User space architecture
|
|---|
| 228 | @ "riscv64"
|
|---|
| 229 | ! [PLATFORM=riscv64] UARCH (choice)
|
|---|
| 230 |
|
|---|
| 231 | % User space architecture
|
|---|
| 232 | @ "sparc64"
|
|---|
| 233 | ! [PLATFORM=sparc64] UARCH (choice)
|
|---|
| 234 |
|
|---|
| 235 |
|
|---|
| 236 | ## Mapping between platform and boot architecture
|
|---|
| 237 |
|
|---|
| 238 | % Boot architecture
|
|---|
| 239 | @ "abs32le"
|
|---|
| 240 | ! [PLATFORM=abs32le] BARCH (choice)
|
|---|
| 241 |
|
|---|
| 242 | % Boot architecture
|
|---|
| 243 | @ "amd64"
|
|---|
| 244 | ! [PLATFORM=amd64] BARCH (choice)
|
|---|
| 245 |
|
|---|
| 246 | % Boot architecture
|
|---|
| 247 | @ "arm32"
|
|---|
| 248 | ! [PLATFORM=arm32] BARCH (choice)
|
|---|
| 249 |
|
|---|
| 250 | % Boot architecture
|
|---|
| 251 | @ "ia32"
|
|---|
| 252 | ! [PLATFORM=ia32] BARCH (choice)
|
|---|
| 253 |
|
|---|
| 254 | % Boot architecture
|
|---|
| 255 | @ "ia32xen"
|
|---|
| 256 | ! [PLATFORM=ia32xen] BARCH (choice)
|
|---|
| 257 |
|
|---|
| 258 | % Boot architecture
|
|---|
| 259 | @ "ia64"
|
|---|
| 260 | ! [PLATFORM=ia64] BARCH (choice)
|
|---|
| 261 |
|
|---|
| 262 | % Boot architecture
|
|---|
| 263 | @ "mips32"
|
|---|
| 264 | ! [PLATFORM=mips32] BARCH (choice)
|
|---|
| 265 |
|
|---|
| 266 | % Boot architecture
|
|---|
| 267 | @ "ppc32"
|
|---|
| 268 | ! [PLATFORM=ppc32] BARCH (choice)
|
|---|
| 269 |
|
|---|
| 270 | % Boot architecture
|
|---|
| 271 | @ "ppc64"
|
|---|
| 272 | ! [PLATFORM=ppc64] BARCH (choice)
|
|---|
| 273 |
|
|---|
| 274 | % Boot architecture
|
|---|
| 275 | @ "riscv64"
|
|---|
| 276 | ! [PLATFORM=riscv64] BARCH (choice)
|
|---|
| 277 |
|
|---|
| 278 | % Boot architecture
|
|---|
| 279 | @ "sparc64"
|
|---|
| 280 | ! [PLATFORM=sparc64] BARCH (choice)
|
|---|
| 281 |
|
|---|
| 282 |
|
|---|
| 283 | ## Mapping between platform and image format
|
|---|
| 284 |
|
|---|
| 285 | % Image format
|
|---|
| 286 | @ "binary"
|
|---|
| 287 | ! [PLATFORM=mips32&MACHINE=msim] IMAGE (choice)
|
|---|
| 288 |
|
|---|
| 289 | % Image format
|
|---|
| 290 | @ "elf"
|
|---|
| 291 | ! [PLATFORM=mips32&(MACHINE=bmalta|MACHINE=lmalta)] IMAGE (choice)
|
|---|
| 292 |
|
|---|
| 293 |
|
|---|
| 294 | ## Compiler options
|
|---|
| 295 |
|
|---|
| 296 | % Compiler
|
|---|
| 297 | @ "gcc_cross" GNU C Compiler (cross-compiler)
|
|---|
| 298 | @ "clang" Clang
|
|---|
| 299 | @ "gcc_helenos" GNU C Compiler (experimental HelenOS-specific cross-compiler)
|
|---|
| 300 | @ "gcc_native" GNU C Compiler (native)
|
|---|
| 301 | ! COMPILER (choice)
|
|---|
| 302 |
|
|---|
| 303 | % Clang Integrated Assembler
|
|---|
| 304 | @ "default" Use architecture default.
|
|---|
| 305 | @ "yes" Use integrated assembler.
|
|---|
| 306 | @ "no" Use GNU Assembler.
|
|---|
| 307 | ! [COMPILER=clang] INTEGRATED_AS (choice)
|
|---|
| 308 |
|
|---|
| 309 | ## Cross-compiler target for abstract architecture
|
|---|
| 310 |
|
|---|
| 311 | % Cross-compiler target
|
|---|
| 312 | @ "arm32" ARM 32-bit
|
|---|
| 313 | @ "ia32" Intel IA-32
|
|---|
| 314 | @ "mips32" MIPS 32-bit
|
|---|
| 315 | ! [PLATFORM=abs32le&(COMPILER=gcc_cross|COMPILER=gcc_helenos)] CROSS_TARGET (choice)
|
|---|
| 316 |
|
|---|
| 317 |
|
|---|
| 318 | ## Kernel configuration
|
|---|
| 319 |
|
|---|
| 320 | % Fences
|
|---|
| 321 | ! [PLATFORM=ia32&(PROCESSOR=athlon_xp|PROCESSOR=athlon_mp|PROCESSOR=pentium3)] CONFIG_FENCES_P3 (y)
|
|---|
| 322 |
|
|---|
| 323 | % Fences
|
|---|
| 324 | ! [PLATFORM=ia32&(PROCESSOR=pentium4|PROCESSOR=core)] CONFIG_FENCES_P4 (y)
|
|---|
| 325 |
|
|---|
| 326 | % Fences
|
|---|
| 327 | ! [PLATFORM=amd64] CONFIG_FENCES_P4 (y)
|
|---|
| 328 |
|
|---|
| 329 | % IOMAP bitmap support
|
|---|
| 330 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_IOMAP_BITMAP (y)
|
|---|
| 331 |
|
|---|
| 332 | % IOMAP dummy support
|
|---|
| 333 | ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64|PLATFORM=sparc64] CONFIG_IOMAP_DUMMY (y)
|
|---|
| 334 |
|
|---|
| 335 | % ACPI support
|
|---|
| 336 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_ACPI (y)
|
|---|
| 337 |
|
|---|
| 338 | % Hierarchical page tables support
|
|---|
| 339 | ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64] CONFIG_PAGE_PT (y)
|
|---|
| 340 |
|
|---|
| 341 | % Page hash table support
|
|---|
| 342 | ! [PLATFORM=ia64|PLATFORM=sparc64] CONFIG_PAGE_HT (y)
|
|---|
| 343 |
|
|---|
| 344 | % Software integer division support
|
|---|
| 345 | ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32] CONFIG_SOFTINT (y)
|
|---|
| 346 |
|
|---|
| 347 | % ASID support
|
|---|
| 348 | ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID (y)
|
|---|
| 349 |
|
|---|
| 350 | % ASID FIFO support
|
|---|
| 351 | ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y)
|
|---|
| 352 |
|
|---|
| 353 | % OpenFirmware tree support
|
|---|
| 354 | ! [PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_OFW_TREE (y)
|
|---|
| 355 |
|
|---|
| 356 | % OpenFirmware PCI bus support
|
|---|
| 357 | ! [PLATFORM=sparc64] CONFIG_OFW_PCI (y)
|
|---|
| 358 |
|
|---|
| 359 | % Multiboot standard support
|
|---|
| 360 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_MULTIBOOT (y)
|
|---|
| 361 |
|
|---|
| 362 | % FPU support
|
|---|
| 363 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia64|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_FPU (y)
|
|---|
| 364 |
|
|---|
| 365 | ## ARMv7 made FPU hardware compulsory
|
|---|
| 366 | % FPU support
|
|---|
| 367 | ! [PLATFORM=arm32&PROCESSOR_ARCH=armv7_a] CONFIG_FPU (y)
|
|---|
| 368 |
|
|---|
| 369 | % FPU support
|
|---|
| 370 | ! [PLATFORM=arm32&MACHINE=integratorcp] CONFIG_FPU (y)
|
|---|
| 371 |
|
|---|
| 372 |
|
|---|
| 373 | ## Kernel features options
|
|---|
| 374 |
|
|---|
| 375 | % Support for SMP
|
|---|
| 376 | ! [(PLATFORM=ia32&PROCESSOR!=athlon_xp)|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64|(PLATFORM=mips32&MACHINE=msim)|PLATFORM=abs32le] CONFIG_SMP (y/n)
|
|---|
| 377 |
|
|---|
| 378 | % Debug build
|
|---|
| 379 | ! CONFIG_DEBUG (y/n)
|
|---|
| 380 |
|
|---|
| 381 | % Deadlock detection support for spinlocks
|
|---|
| 382 | ! [CONFIG_DEBUG=y&CONFIG_SMP=y] CONFIG_DEBUG_SPINLOCK (y/n)
|
|---|
| 383 |
|
|---|
| 384 | % Lazy FPU context switching
|
|---|
| 385 | ! [CONFIG_FPU=y] CONFIG_FPU_LAZY (y/n)
|
|---|
| 386 |
|
|---|
| 387 | % Use VHPT
|
|---|
| 388 | ! [PLATFORM=ia64] CONFIG_VHPT (n/y)
|
|---|
| 389 |
|
|---|
| 390 | % Use TSB
|
|---|
| 391 | ! [PLATFORM=sparc64] CONFIG_TSB (y/n)
|
|---|
| 392 |
|
|---|
| 393 | % IO SAPIC on default address support
|
|---|
| 394 | ! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n)
|
|---|
| 395 |
|
|---|
| 396 | % Virtually indexed D-cache support
|
|---|
| 397 | ! [PLATFORM=sparc64] CONFIG_VIRT_IDX_DCACHE (y/n)
|
|---|
| 398 |
|
|---|
| 399 | % Simics SMP Hack
|
|---|
| 400 | ! [PROCESSOR=sun4v&CONFIG_SMP=y] CONFIG_SIMICS_SMP_HACK (n/y)
|
|---|
| 401 |
|
|---|
| 402 | % Support for userspace debuggers
|
|---|
| 403 | ! CONFIG_UDEBUG (y/n)
|
|---|
| 404 |
|
|---|
| 405 | % Kernel console support
|
|---|
| 406 | ! CONFIG_KCONSOLE (y/n)
|
|---|
| 407 |
|
|---|
| 408 | % Kernel symbol information
|
|---|
| 409 | ! CONFIG_SYMTAB (y/n)
|
|---|
| 410 |
|
|---|
| 411 | % Detailed kernel logging
|
|---|
| 412 | ! CONFIG_LOG (n/y)
|
|---|
| 413 |
|
|---|
| 414 | % Kernel function tracing
|
|---|
| 415 | ! CONFIG_TRACE (n/y)
|
|---|
| 416 |
|
|---|
| 417 | % Compile kernel tests
|
|---|
| 418 | ! CONFIG_TEST (y/n)
|
|---|
| 419 |
|
|---|
| 420 | % Use link-time optimization
|
|---|
| 421 | ! [COMPILER=gcc_cross|COMPILER=gcc_native] CONFIG_LTO (n/y)
|
|---|
| 422 |
|
|---|
| 423 | % Kernel RCU algorithm
|
|---|
| 424 | @ "PREEMPT_PODZIMEK" Preemptible Podzimek-RCU
|
|---|
| 425 | @ "PREEMPT_A" Preemptible A-RCU
|
|---|
| 426 | ! RCU (choice)
|
|---|
| 427 |
|
|---|
| 428 |
|
|---|
| 429 | ## User space features options
|
|---|
| 430 |
|
|---|
| 431 | % Light weight futex locks
|
|---|
| 432 | ! FUTEX_UPGRADABLE (n/y)
|
|---|
| 433 |
|
|---|
| 434 |
|
|---|
| 435 | ## Hardware support
|
|---|
| 436 |
|
|---|
| 437 | % Input device class
|
|---|
| 438 | @ "generic" Keyboard or serial line
|
|---|
| 439 | ! [PLATFORM=arm32&MACHINE=integratorcp] CONFIG_HID_IN (choice)
|
|---|
| 440 |
|
|---|
| 441 | % Input device class
|
|---|
| 442 | @ "generic" Keyboard or serial line
|
|---|
| 443 | @ "none" No input device
|
|---|
| 444 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64|PLATFORM=sparc64] CONFIG_HID_IN (choice)
|
|---|
| 445 |
|
|---|
| 446 | % Input device class
|
|---|
| 447 | @ "generic" Keyboard or serial line
|
|---|
| 448 | @ "keyboard" Keyboard
|
|---|
| 449 | @ "serial" Serial line
|
|---|
| 450 | @ "none" No input device
|
|---|
| 451 | ! [PLATFORM=ia64&MACHINE=i460GX] CONFIG_HID_IN (choice)
|
|---|
| 452 |
|
|---|
| 453 | % Output device class
|
|---|
| 454 | @ "generic" Monitor or serial line
|
|---|
| 455 | ! [PLATFORM=arm32&(MACHINE=gta02|MACHINE=integratorcp|MACHINE=beagleboardxm|MACHINE=beaglebone|MACHINE=raspberrypi)] CONFIG_HID_OUT (choice)
|
|---|
| 456 |
|
|---|
| 457 | % Output device class
|
|---|
| 458 | @ "generic" Monitor or serial line
|
|---|
| 459 | @ "none" No output device
|
|---|
| 460 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ppc32|(PLATFORM=ia64&MACHINE=i460GX)|(PLATFORM=mips32&(MACHINE=msim|MACHINE=bmalta|MACHINE=lmalta))|PLATFORM=riscv64] CONFIG_HID_OUT (choice)
|
|---|
| 461 |
|
|---|
| 462 | % PC keyboard support
|
|---|
| 463 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_PC_KBD (y/n)
|
|---|
| 464 |
|
|---|
| 465 | % PC keyboard support
|
|---|
| 466 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_PC_KBD (y/n)
|
|---|
| 467 |
|
|---|
| 468 | % PC keyboard support
|
|---|
| 469 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=arm32&MACHINE=integratorcp] CONFIG_AT_KBD (y/n)
|
|---|
| 470 |
|
|---|
| 471 | % Support for msim keyboard
|
|---|
| 472 | ! [CONFIG_HID_IN=generic&MACHINE=msim] CONFIG_MSIM_KBD (y/n)
|
|---|
| 473 |
|
|---|
| 474 | % Support for msim printer
|
|---|
| 475 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&MACHINE=msim] CONFIG_MSIM_PRN (y/n)
|
|---|
| 476 |
|
|---|
| 477 | % Support for VIA CUDA controller
|
|---|
| 478 | ! [CONFIG_HID_IN=generic&PLATFORM=ppc32] CONFIG_VIA_CUDA (y/n)
|
|---|
| 479 |
|
|---|
| 480 | % Support for NS16550 controller
|
|---|
| 481 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic] CONFIG_NS16550 (y/n)
|
|---|
| 482 |
|
|---|
| 483 | % Support for NS16550 controller
|
|---|
| 484 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_NS16550 (y/n)
|
|---|
| 485 |
|
|---|
| 486 | % Support for PL011 UART
|
|---|
| 487 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=integratorcp|MACHINE=raspberrypi)] CONFIG_PL011_UART (y/n)
|
|---|
| 488 |
|
|---|
| 489 | % Support for NS16550 controller (kernel console)
|
|---|
| 490 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial|CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_NS16550_KCON (n/y)
|
|---|
| 491 |
|
|---|
| 492 | % Use NS16550 controller as serial input (kernel console)
|
|---|
| 493 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial)&(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_NS16550_KCON=y] CONFIG_NS16550 (y)
|
|---|
| 494 |
|
|---|
| 495 | % Use NS16550 controller as dummy serial output (kernel console)
|
|---|
| 496 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_NS16550_KCON=y] CONFIG_NS16550_OUT (y)
|
|---|
| 497 |
|
|---|
| 498 | % Support for Samsung S3C24XX on-chip UART
|
|---|
| 499 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&MACHINE=gta02] CONFIG_S3C24XX_UART (y/n)
|
|---|
| 500 |
|
|---|
| 501 | % Support for Samsung S3C24XX on-chip interrupt controller
|
|---|
| 502 | ! [PLATFORM=arm32&MACHINE=gta02] CONFIG_S3C24XX_IRQC (y)
|
|---|
| 503 |
|
|---|
| 504 | % Support for TI AM335x timers support
|
|---|
| 505 | ! [PLATFORM=arm32&MACHINE=beaglebone] CONFIG_AM335X_TIMERS (y)
|
|---|
| 506 |
|
|---|
| 507 | % Support for OMAP on-chip UART
|
|---|
| 508 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] CONFIG_OMAP_UART (y/n)
|
|---|
| 509 |
|
|---|
| 510 | % Support for BCM2835 mailbox
|
|---|
| 511 | ! [PLATFORM=arm32&MACHINE=raspberrypi] CONFIG_BCM2835_MAILBOX (y/n)
|
|---|
| 512 |
|
|---|
| 513 | % Support for i8042 controller
|
|---|
| 514 | ! [CONFIG_PC_KBD=y] CONFIG_I8042 (y)
|
|---|
| 515 |
|
|---|
| 516 | % Support for pl050 controller
|
|---|
| 517 | ! [CONFIG_HID_IN=generic&PLATFORM=arm32&MACHINE=integratorcp] CONFIG_PL050 (y)
|
|---|
| 518 |
|
|---|
| 519 | % Sun keyboard support
|
|---|
| 520 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic&CONFIG_NS16550=y] CONFIG_SUN_KBD (y)
|
|---|
| 521 |
|
|---|
| 522 | % Macintosh ADB keyboard support
|
|---|
| 523 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=ppc32&(CONFIG_VIA_CUDA=y)] CONFIG_MAC_KBD (y)
|
|---|
| 524 |
|
|---|
| 525 | % Dummy serial line input
|
|---|
| 526 | ! [CONFIG_MSIM_KBD=y|CONFIG_ARM_KBD=y] CONFIG_DSRLNIN (y)
|
|---|
| 527 |
|
|---|
| 528 | % Dummy serial line output
|
|---|
| 529 | ! [CONFIG_MSIM_PRN=y|CONFIG_ARM_PRN=y] CONFIG_DSRLNOUT (y)
|
|---|
| 530 |
|
|---|
| 531 | % Serial line input module
|
|---|
| 532 | ! [CONFIG_DSRLNIN=y|(PLATFORM=arm32&MACHINE=gta02)|(PLATFORM=arm32&MACHINE=integratorcp&CONFIG_PL011_UART=y)|(PLATFORM=arm32&MACHINE=beaglebone&CONFIG_OMAP_UART=y)|(PLATFORM=arm32&MACHINE=beagleboardxm&CONFIG_OMAP_UART=y)|(PLATFORM=ia64&MACHINE=i460GX&CONFIG_NS16550=y)|(PLATFORM=ia64&MACHINE=ski)|(PLATFORM=sparc64&PROCESSOR=sun4v)|(PLATFORM=arm32&MACHINE=raspberrypi&CONFIG_PL011_UART=y)|(PLATFORM=ia32&CONFIG_NS16550=y)|(PLATFORM=amd64&CONFIG_NS16550=y)] CONFIG_SRLN (y)
|
|---|
| 533 |
|
|---|
| 534 | % EGA support
|
|---|
| 535 | ! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_EGA (y/n)
|
|---|
| 536 |
|
|---|
| 537 | % EGA support
|
|---|
| 538 | ! [CONFIG_HID_OUT=generic&PLATFORM=ia64&MACHINE=i460GX] CONFIG_EGA (y/n)
|
|---|
| 539 |
|
|---|
| 540 | % Framebuffer support
|
|---|
| 541 | ! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ppc32)] CONFIG_FB (y/n)
|
|---|
| 542 |
|
|---|
| 543 | % Framebuffer support
|
|---|
| 544 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=arm32] CONFIG_FB (y/n)
|
|---|
| 545 |
|
|---|
| 546 | % Framebuffer support
|
|---|
| 547 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=sparc64&MACHINE=generic] CONFIG_FB (y/n)
|
|---|
| 548 |
|
|---|
| 549 | % Default framebuffer mode
|
|---|
| 550 | @ "640x480"
|
|---|
| 551 | @ "800x600"
|
|---|
| 552 | @ "1024x768"
|
|---|
| 553 | @ "1152x720"
|
|---|
| 554 | @ "1152x864"
|
|---|
| 555 | @ "1280x720"
|
|---|
| 556 | @ "1280x800"
|
|---|
| 557 | @ "1280x960"
|
|---|
| 558 | @ "1280x1024"
|
|---|
| 559 | @ "1400x1050"
|
|---|
| 560 | @ "1440x900"
|
|---|
| 561 | @ "1440x1050"
|
|---|
| 562 | @ "1600x1200"
|
|---|
| 563 | @ "1920x1080"
|
|---|
| 564 | @ "1920x1200"
|
|---|
| 565 | ! [(PLATFORM=ia32|PLATFORM=amd64|MACHINE=beagleboardxm)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_BFB_MODE (choice)
|
|---|
| 566 |
|
|---|
| 567 | % Default framebuffer depth
|
|---|
| 568 | @ "8"
|
|---|
| 569 | @ "16"
|
|---|
| 570 | @ "24"
|
|---|
| 571 | @ "32"
|
|---|
| 572 | ! [(PLATFORM=ia32|PLATFORM=amd64|MACHINE=beagleboardxm)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_BFB_BPP (choice)
|
|---|
| 573 |
|
|---|
| 574 | % Start AP processors by the loader
|
|---|
| 575 | ! [PLATFORM=sparc64&CONFIG_SMP=y] CONFIG_AP (y/n)
|
|---|
| 576 |
|
|---|
| 577 | % Dynamic linking support
|
|---|
| 578 | ! [PLATFORM=ia32] CONFIG_RTLD (n/y)
|
|---|
| 579 | ! [PLATFORM=abs32le|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64|PLATFORM=sparc64] CONFIG_RTLD (n)
|
|---|
| 580 |
|
|---|
| 581 | % Build shared libraries
|
|---|
| 582 | ! [CONFIG_RTLD=y] CONFIG_BUILD_SHARED_LIBS (n/y)
|
|---|
| 583 | ! [CONFIG_RTLD=n] CONFIG_BUILD_SHARED_LIBS (n)
|
|---|
| 584 |
|
|---|
| 585 | % Link against shared libraries
|
|---|
| 586 | ! [CONFIG_BUILD_SHARED_LIBS=y] CONFIG_USE_SHARED_LIBS (n/y)
|
|---|
| 587 | ! [CONFIG_BUILD_SHARED_LIBS=n] CONFIG_USE_SHARED_LIBS (n)
|
|---|
| 588 |
|
|---|
| 589 | % Launch (devman) test drivers
|
|---|
| 590 | ! [CONFIG_DEBUG=y] CONFIG_TEST_DRIVERS (n/y)
|
|---|
| 591 |
|
|---|
| 592 | % Write core files
|
|---|
| 593 | ! CONFIG_WRITE_CORE_FILES (n/y)
|
|---|
| 594 |
|
|---|
| 595 | % Include userspace unit tests (PCUT)
|
|---|
| 596 | ! CONFIG_PCUT_TESTS (n/y)
|
|---|
| 597 |
|
|---|
| 598 | % Include PCUT self-tests
|
|---|
| 599 | ! CONFIG_PCUT_SELF_TESTS (n/y)
|
|---|
| 600 |
|
|---|
| 601 | % Include development files (headers, libraries)
|
|---|
| 602 | ! CONFIG_DEVEL_FILES (n/y)
|
|---|
| 603 |
|
|---|
| 604 | % Strip binaries
|
|---|
| 605 | ! CONFIG_STRIP_BINARIES (n/y)
|
|---|
| 606 |
|
|---|
| 607 | % Strip revision information (helpful when comparing outputs)
|
|---|
| 608 | ! CONFIG_STRIP_REVISION_INFO (n/y)
|
|---|
| 609 |
|
|---|
| 610 | % Optimization level
|
|---|
| 611 | @ "3" Level 3 (recommended).
|
|---|
| 612 | @ "2" Level 2.
|
|---|
| 613 | @ "1" Level 1.
|
|---|
| 614 | @ "0" Disable optimizations.
|
|---|
| 615 | @ "s" Optimize for size.
|
|---|
| 616 | @ "g" Enable only optimizations that don't harm debugging.
|
|---|
| 617 | @ "fast" Level 3 + aggressive optimizations that can affect adherence to standards.
|
|---|
| 618 | ! OPTIMIZATION (choice)
|
|---|
| 619 |
|
|---|
| 620 | % Barebone build with essential binaries only
|
|---|
| 621 | ! CONFIG_BAREBONE (n/y)
|
|---|
| 622 |
|
|---|
| 623 | % Line debugging information
|
|---|
| 624 | ! [CONFIG_STRIP_BINARIES!=y] CONFIG_LINE_DEBUG (n/y)
|
|---|
| 625 |
|
|---|
| 626 | # USB settings
|
|---|
| 627 |
|
|---|
| 628 | % Start virtual USB host controller
|
|---|
| 629 | ! CONFIG_RUN_VIRTUAL_USB_HC (n/y)
|
|---|
| 630 |
|
|---|
| 631 | % OHCI root hub port power switching
|
|---|
| 632 | @ "no" All root hub ports are always powered.
|
|---|
| 633 | @ "ganged" Root hub ports are all powered or all off.
|
|---|
| 634 | @ "per_port" Powered status of every root hub port is independent.
|
|---|
| 635 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ppc32] OHCI_POWER_SWITCH (choice)
|
|---|
| 636 |
|
|---|
| 637 | % GRUB boot loader architecture
|
|---|
| 638 | @ "pc" GRUB for PC
|
|---|
| 639 | @ "efi" GRUB for UEFI
|
|---|
| 640 | ! [PLATFORM=ia32|PLATFORM=amd64] GRUB_ARCH (choice)
|
|---|
| 641 |
|
|---|
| 642 | % uImage OS type
|
|---|
| 643 | @ "2" NetBSD stage 2 boot loader
|
|---|
| 644 | ! [PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] UIMAGE_OS (choice)
|
|---|
| 645 |
|
|---|
| 646 | % uImage OS type
|
|---|
| 647 | @ "5" Linux kernel
|
|---|
| 648 | ! [PLATFORM=arm32&MACHINE!=beagleboardxm&MACHINE!=beaglebone] UIMAGE_OS (choice)
|
|---|