[44882c8] | 1 | #
|
---|
[9a0367f] | 2 | # Copyright (c) 2006 Ondrej Palkovsky
|
---|
[98a4e76] | 3 | # Copyright (c) 2009 Martin Decky
|
---|
[44882c8] | 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 |
|
---|
[9a0367f] | 30 | ## General platform options
|
---|
| 31 |
|
---|
| 32 | % Platform
|
---|
[50fda24] | 33 | @ "abs32le" abstract 32-bit little endian
|
---|
[b51cf2c] | 34 | @ "amd64" AMD64/EM64T 64-bit (PC)
|
---|
[d630139] | 35 | @ "arm32" ARM 32-bit
|
---|
[b51cf2c] | 36 | @ "ia32" IA-32 32-bit (PC)
|
---|
| 37 | @ "ia64" IA-64 64-bit
|
---|
[1ba41c5] | 38 | @ "mips32" MIPS 32-bit
|
---|
[b51cf2c] | 39 | @ "ppc32" PowerPC 32-bit
|
---|
[7a67416] | 40 | @ "riscv64" RISC-V 64-bit
|
---|
[b51cf2c] | 41 | @ "sparc64" SPARCv9 64-bit
|
---|
[41f7564] | 42 | ! PLATFORM (choice)
|
---|
| 43 |
|
---|
[9a0367f] | 44 | % Machine type
|
---|
[1ba41c5] | 45 | @ "msim" MSIM
|
---|
[c0a7545] | 46 | @ "bmalta" MIPS Malta Development Board big endian
|
---|
| 47 | @ "lmalta" MIPS Malta Development Board little endian
|
---|
[1ba41c5] | 48 | ! [PLATFORM=mips32] MACHINE (choice)
|
---|
| 49 |
|
---|
[9a0367f] | 50 | % Machine type
|
---|
[c785296] | 51 | @ "i460GX" i460GX chipset machine
|
---|
[4b8f1c3] | 52 | @ "ski" Ski ia64 simulator
|
---|
[c785296] | 53 | ! [PLATFORM=ia64] MACHINE (choice)
|
---|
| 54 |
|
---|
[1c6b3a2] | 55 | % Machine type
|
---|
| 56 | @ "generic" Generic Sun workstation or server
|
---|
| 57 | ! [PLATFORM=sparc64] MACHINE (choice)
|
---|
| 58 |
|
---|
[6ac14a70] | 59 | % Machine type
|
---|
[7c866dc] | 60 | @ "gta02" GTA02 / Neo FreeRunner
|
---|
[87bedd1c] | 61 | @ "integratorcp" Integratorcp
|
---|
[63b2be8] | 62 | @ "beagleboardxm" BeagleBoard-xM
|
---|
| 63 | @ "beaglebone" BeagleBone
|
---|
[8f9d70b] | 64 | @ "raspberrypi" Raspberry Pi
|
---|
[6ac14a70] | 65 | ! [PLATFORM=arm32] MACHINE (choice)
|
---|
| 66 |
|
---|
[9a0367f] | 67 | % CPU type
|
---|
| 68 | @ "pentium4" Pentium 4
|
---|
| 69 | @ "pentium3" Pentium 3
|
---|
| 70 | @ "core" Core Solo/Duo
|
---|
[70554dd] | 71 | @ "athlon_xp" Athlon XP
|
---|
| 72 | @ "athlon_mp" Athlon MP
|
---|
[1c99eae] | 73 | @ "i486" i486
|
---|
[a1d5167] | 74 | ! [PLATFORM=ia32] PROCESSOR (choice)
|
---|
[9a0367f] | 75 |
|
---|
| 76 | % CPU type
|
---|
| 77 | @ "opteron" Opteron
|
---|
[1c6b3a2] | 78 | ! [PLATFORM=amd64] PROCESSOR (choice)
|
---|
[9a0367f] | 79 |
|
---|
| 80 | % CPU type
|
---|
| 81 | @ "us" UltraSPARC I-II subarchitecture
|
---|
| 82 | @ "us3" UltraSPARC III-IV subarchitecture
|
---|
[68834d85] | 83 | @ "sun4v" Niagara (sun4v)
|
---|
[1c6b3a2] | 84 | ! [PLATFORM=sparc64&MACHINE=generic] PROCESSOR (choice)
|
---|
| 85 |
|
---|
[f1aa1db] | 86 | % CPU type
|
---|
[e7b0b85] | 87 | @ "cortex_a8" ARM Cortex A-8
|
---|
[b1011dae] | 88 | ! [PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] PROCESSOR (choice)
|
---|
[f1aa1db] | 89 |
|
---|
| 90 | % CPU type
|
---|
[e7b0b85] | 91 | @ "arm920t" ARM920T
|
---|
| 92 | ! [PLATFORM=arm32&MACHINE=gta02] PROCESSOR (choice)
|
---|
[f1aa1db] | 93 |
|
---|
| 94 | % CPU type
|
---|
[e7b0b85] | 95 | @ "arm926ej_s" ARM926EJ-S
|
---|
| 96 | ! [PLATFORM=arm32&MACHINE=integratorcp] PROCESSOR (choice)
|
---|
| 97 |
|
---|
[8f9d70b] | 98 | % CPU type
|
---|
| 99 | @ "arm1176" ARM1176
|
---|
| 100 | ! [PLATFORM=arm32&MACHINE=raspberrypi] PROCESSOR (choice)
|
---|
[e7b0b85] | 101 |
|
---|
| 102 | # Add more ARMv4 CPUs
|
---|
[5d9e36b] | 103 | % CPU arch
|
---|
[f1aa1db] | 104 | @ "armv4" ARMv4
|
---|
[e7b0b85] | 105 | ! [PLATFORM=arm32&(PROCESSOR=arm920t)] PROCESSOR_ARCH (choice)
|
---|
[f1aa1db] | 106 |
|
---|
[e7b0b85] | 107 | # Add more ARMv5 CPUs
|
---|
| 108 | % CPU arch
|
---|
[f1aa1db] | 109 | @ "armv5" ARMv5
|
---|
[e7b0b85] | 110 | ! [PLATFORM=arm32&(PROCESSOR=arm926ej_s)] PROCESSOR_ARCH (choice)
|
---|
[f1aa1db] | 111 |
|
---|
[8f9d70b] | 112 | # Add more ARMv6 CPUs
|
---|
| 113 | % CPU arch
|
---|
| 114 | @ "armv6" ARMv6
|
---|
| 115 | ! [PLATFORM=arm32&(PROCESSOR=arm1176)] PROCESSOR_ARCH (choice)
|
---|
| 116 |
|
---|
[e7b0b85] | 117 | # Add more ARMv7-A CPUs
|
---|
| 118 | % CPU arch
|
---|
[49a736e2] | 119 | @ "armv7_a" ARMv7-A
|
---|
[e7b0b85] | 120 | ! [PLATFORM=arm32&(PROCESSOR=cortex_a8)] PROCESSOR_ARCH (choice)
|
---|
[f1aa1db] | 121 |
|
---|
[5a00ee0] | 122 | % CPU type
|
---|
| 123 | @ "R4000" MIPS R4000
|
---|
| 124 | ! [PLATFORM=mips32&MACHINE=msim] PROCESSOR (choice)
|
---|
| 125 |
|
---|
| 126 | % CPU type
|
---|
| 127 | @ "4Kc" MIPS 4Kc
|
---|
[c0a7545] | 128 | ! [PLATFORM=mips32&(MACHINE=bmalta|MACHINE=lmalta)] PROCESSOR (choice)
|
---|
[5a00ee0] | 129 |
|
---|
[4bf0926e] | 130 | % Kernel memory model
|
---|
| 131 | @ "kernel" Kernel
|
---|
| 132 | @ "large" Large
|
---|
| 133 | ! [PLATFORM=amd64] MEMORY_MODEL (choice)
|
---|
| 134 |
|
---|
[af8e565] | 135 | % RAM disk format
|
---|
[9a0367f] | 136 | @ "tmpfs" TMPFS image
|
---|
| 137 | @ "fat" FAT16 image
|
---|
[d06c4ae] | 138 | @ "ext4fs" ext4 image
|
---|
[9a0367f] | 139 | ! RDFMT (choice)
|
---|
| 140 |
|
---|
| 141 |
|
---|
[98a4e76] | 142 | ## Mapping between platform and kernel architecture
|
---|
| 143 |
|
---|
[50fda24] | 144 | % Kernel architecture
|
---|
| 145 | @ "abs32le"
|
---|
| 146 | ! [PLATFORM=abs32le] KARCH (choice)
|
---|
| 147 |
|
---|
[98a4e76] | 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 |
|
---|
[7a67416] | 180 | % Kernel architecture
|
---|
| 181 | @ "riscv64"
|
---|
| 182 | ! [PLATFORM=riscv64] KARCH (choice)
|
---|
| 183 |
|
---|
[98a4e76] | 184 | % Kernel architecture
|
---|
| 185 | @ "sparc64"
|
---|
| 186 | ! [PLATFORM=sparc64] KARCH (choice)
|
---|
| 187 |
|
---|
| 188 |
|
---|
| 189 | ## Mapping between platform and user space architecture
|
---|
| 190 |
|
---|
[50fda24] | 191 | % User space architecture
|
---|
| 192 | @ "abs32le"
|
---|
| 193 | ! [PLATFORM=abs32le] UARCH (choice)
|
---|
| 194 |
|
---|
[98a4e76] | 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"
|
---|
[232cd4f] | 213 | ! [PLATFORM=mips32&(MACHINE=msim|MACHINE=lmalta)] UARCH (choice)
|
---|
[98a4e76] | 214 |
|
---|
| 215 | % User space architecture
|
---|
| 216 | @ "mips32eb"
|
---|
[232cd4f] | 217 | ! [PLATFORM=mips32&MACHINE=bmalta] UARCH (choice)
|
---|
[98a4e76] | 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 |
|
---|
[7a67416] | 227 | % User space architecture
|
---|
| 228 | @ "riscv64"
|
---|
| 229 | ! [PLATFORM=riscv64] UARCH (choice)
|
---|
| 230 |
|
---|
[98a4e76] | 231 | % User space architecture
|
---|
| 232 | @ "sparc64"
|
---|
| 233 | ! [PLATFORM=sparc64] UARCH (choice)
|
---|
| 234 |
|
---|
| 235 |
|
---|
| 236 | ## Mapping between platform and boot architecture
|
---|
| 237 |
|
---|
[50fda24] | 238 | % Boot architecture
|
---|
| 239 | @ "abs32le"
|
---|
| 240 | ! [PLATFORM=abs32le] BARCH (choice)
|
---|
| 241 |
|
---|
[98a4e76] | 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 |
|
---|
[7a67416] | 274 | % Boot architecture
|
---|
| 275 | @ "riscv64"
|
---|
| 276 | ! [PLATFORM=riscv64] BARCH (choice)
|
---|
| 277 |
|
---|
[98a4e76] | 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 |
|
---|
[5a00ee0] | 289 | % Image format
|
---|
| 290 | @ "elf"
|
---|
[c0a7545] | 291 | ! [PLATFORM=mips32&(MACHINE=bmalta|MACHINE=lmalta)] IMAGE (choice)
|
---|
[5a00ee0] | 292 |
|
---|
[b51cf2c] | 293 |
|
---|
[9a0367f] | 294 | ## Compiler options
|
---|
| 295 |
|
---|
| 296 | % Compiler
|
---|
[69dc065] | 297 | @ "gcc_cross" GNU C Compiler (cross-compiler)
|
---|
[795e2bf] | 298 | @ "clang" Clang
|
---|
[f3287e5] | 299 | @ "gcc_helenos" GNU C Compiler (experimental HelenOS-specific cross-compiler)
|
---|
[795e2bf] | 300 | @ "gcc_native" GNU C Compiler (native)
|
---|
[d75dc05] | 301 | ! COMPILER (choice)
|
---|
[50fda24] | 302 |
|
---|
[a0a273e] | 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)
|
---|
[9a0367f] | 308 |
|
---|
[81983e3] | 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
|
---|
[8f2eca0] | 315 | ! [PLATFORM=abs32le&(COMPILER=gcc_cross|COMPILER=gcc_helenos)] CROSS_TARGET (choice)
|
---|
[81983e3] | 316 |
|
---|
[9a0367f] | 317 |
|
---|
[98a4e76] | 318 | ## Kernel configuration
|
---|
| 319 |
|
---|
| 320 | % Fences
|
---|
[1c6b3a2] | 321 | ! [PLATFORM=ia32&(PROCESSOR=athlon_xp|PROCESSOR=athlon_mp|PROCESSOR=pentium3)] CONFIG_FENCES_P3 (y)
|
---|
[98a4e76] | 322 |
|
---|
| 323 | % Fences
|
---|
[1c6b3a2] | 324 | ! [PLATFORM=ia32&(PROCESSOR=pentium4|PROCESSOR=core)] CONFIG_FENCES_P4 (y)
|
---|
[30e2bba] | 325 |
|
---|
| 326 | % Fences
|
---|
| 327 | ! [PLATFORM=amd64] CONFIG_FENCES_P4 (y)
|
---|
[98a4e76] | 328 |
|
---|
[6eeb4a3] | 329 | % IOMAP bitmap support
|
---|
| 330 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_IOMAP_BITMAP (y)
|
---|
| 331 |
|
---|
| 332 | % IOMAP dummy support
|
---|
[fdc29300] | 333 | ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64|PLATFORM=sparc64] CONFIG_IOMAP_DUMMY (y)
|
---|
[6eeb4a3] | 334 |
|
---|
[98a4e76] | 335 | % ACPI support
|
---|
| 336 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_ACPI (y)
|
---|
| 337 |
|
---|
| 338 | % Hierarchical page tables support
|
---|
[d776329b] | 339 | ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64] CONFIG_PAGE_PT (y)
|
---|
[98a4e76] | 340 |
|
---|
| 341 | % Page hash table support
|
---|
[6c1c1f7] | 342 | ! [PLATFORM=ia64|PLATFORM=sparc64] CONFIG_PAGE_HT (y)
|
---|
[98a4e76] | 343 |
|
---|
| 344 | % Software integer division support
|
---|
[d776329b] | 345 | ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32] CONFIG_SOFTINT (y)
|
---|
[98a4e76] | 346 |
|
---|
| 347 | % ASID support
|
---|
[d776329b] | 348 | ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID (y)
|
---|
[98a4e76] | 349 |
|
---|
| 350 | % ASID FIFO support
|
---|
[d776329b] | 351 | ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y)
|
---|
[98a4e76] | 352 |
|
---|
| 353 | % OpenFirmware tree support
|
---|
[e731b0d] | 354 | ! [PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_OFW_TREE (y)
|
---|
| 355 |
|
---|
| 356 | % OpenFirmware PCI bus support
|
---|
| 357 | ! [PLATFORM=sparc64] CONFIG_OFW_PCI (y)
|
---|
[98a4e76] | 358 |
|
---|
[5d8d71e] | 359 | % Multiboot standard support
|
---|
| 360 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_MULTIBOOT (y)
|
---|
| 361 |
|
---|
[98a4e76] | 362 | % FPU support
|
---|
[30730e5] | 363 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia64|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_FPU (y)
|
---|
[df7f5cea] | 364 |
|
---|
[d9be488] | 365 | ## ARMv7 made FPU hardware compulsory
|
---|
[22a0ee8] | 366 | % FPU support
|
---|
[5d9e36b] | 367 | ! [PLATFORM=arm32&PROCESSOR_ARCH=armv7_a] CONFIG_FPU (y)
|
---|
[22a0ee8] | 368 |
|
---|
[d238aa9] | 369 | % FPU support
|
---|
| 370 | ! [PLATFORM=arm32&MACHINE=integratorcp] CONFIG_FPU (y)
|
---|
[22a0ee8] | 371 |
|
---|
[98a4e76] | 372 |
|
---|
[9a0367f] | 373 | ## Kernel features options
|
---|
| 374 |
|
---|
| 375 | % Support for SMP
|
---|
[6c1c1f7] | 376 | ! [(PLATFORM=ia32&PROCESSOR!=athlon_xp)|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64|(PLATFORM=mips32&MACHINE=msim)|PLATFORM=abs32le] CONFIG_SMP (y/n)
|
---|
[9a0367f] | 377 |
|
---|
[04d672c3] | 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 |
|
---|
[9a0367f] | 384 | % Lazy FPU context switching
|
---|
[957ce9a5] | 385 | ! [CONFIG_FPU=y] CONFIG_FPU_LAZY (y/n)
|
---|
[9a0367f] | 386 |
|
---|
| 387 | % Use VHPT
|
---|
[a1d5167] | 388 | ! [PLATFORM=ia64] CONFIG_VHPT (n/y)
|
---|
[9a0367f] | 389 |
|
---|
| 390 | % Use TSB
|
---|
[a1d5167] | 391 | ! [PLATFORM=sparc64] CONFIG_TSB (y/n)
|
---|
[1c6b3a2] | 392 |
|
---|
| 393 | % IO SAPIC on default address support
|
---|
[a1d5167] | 394 | ! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n)
|
---|
[1c6b3a2] | 395 |
|
---|
| 396 | % Virtually indexed D-cache support
|
---|
[a1d5167] | 397 | ! [PLATFORM=sparc64] CONFIG_VIRT_IDX_DCACHE (y/n)
|
---|
[1c6b3a2] | 398 |
|
---|
| 399 | % Support for userspace debuggers
|
---|
[a1d5167] | 400 | ! CONFIG_UDEBUG (y/n)
|
---|
[1c6b3a2] | 401 |
|
---|
| 402 | % Kernel console support
|
---|
[a1d5167] | 403 | ! CONFIG_KCONSOLE (y/n)
|
---|
[1c6b3a2] | 404 |
|
---|
[e2b762ec] | 405 | % Kernel symbol information
|
---|
| 406 | ! CONFIG_SYMTAB (y/n)
|
---|
| 407 |
|
---|
[1c6b3a2] | 408 | % Detailed kernel logging
|
---|
[a1d5167] | 409 | ! CONFIG_LOG (n/y)
|
---|
[1c6b3a2] | 410 |
|
---|
[ad8f03d2] | 411 | % Kernel function tracing
|
---|
| 412 | ! CONFIG_TRACE (n/y)
|
---|
| 413 |
|
---|
[1c6b3a2] | 414 | % Compile kernel tests
|
---|
[a1d5167] | 415 | ! CONFIG_TEST (y/n)
|
---|
[1c6b3a2] | 416 |
|
---|
[cf84f1bf] | 417 | % Use link-time optimization
|
---|
| 418 | ! [COMPILER=gcc_cross|COMPILER=gcc_native] CONFIG_LTO (n/y)
|
---|
| 419 |
|
---|
[d4d36f9] | 420 | % Kernel RCU algorithm
|
---|
| 421 | @ "PREEMPT_PODZIMEK" Preemptible Podzimek-RCU
|
---|
| 422 | @ "PREEMPT_A" Preemptible A-RCU
|
---|
| 423 | ! RCU (choice)
|
---|
| 424 |
|
---|
[04d672c3] | 425 |
|
---|
[b7acf38] | 426 | ## User space features options
|
---|
| 427 |
|
---|
| 428 | % Light weight futex locks
|
---|
| 429 | ! FUTEX_UPGRADABLE (n/y)
|
---|
| 430 |
|
---|
[04d672c3] | 431 |
|
---|
[1c6b3a2] | 432 | ## Hardware support
|
---|
[9a0367f] | 433 |
|
---|
[6ac14a70] | 434 | % Input device class
|
---|
| 435 | @ "generic" Keyboard or serial line
|
---|
| 436 | ! [PLATFORM=arm32&MACHINE=integratorcp] CONFIG_HID_IN (choice)
|
---|
| 437 |
|
---|
[4d29d01] | 438 | % Input device class
|
---|
[71385d4f] | 439 | @ "generic" Keyboard or serial line
|
---|
| 440 | @ "none" No input device
|
---|
[7a67416] | 441 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64|PLATFORM=sparc64] CONFIG_HID_IN (choice)
|
---|
[04d672c3] | 442 |
|
---|
[449d4ecc] | 443 | % Input device class
|
---|
| 444 | @ "generic" Keyboard or serial line
|
---|
| 445 | @ "keyboard" Keyboard
|
---|
| 446 | @ "serial" Serial line
|
---|
| 447 | @ "none" No input device
|
---|
| 448 | ! [PLATFORM=ia64&MACHINE=i460GX] CONFIG_HID_IN (choice)
|
---|
| 449 |
|
---|
[6ac14a70] | 450 | % Output device class
|
---|
| 451 | @ "generic" Monitor or serial line
|
---|
[8f9d70b] | 452 | ! [PLATFORM=arm32&(MACHINE=gta02|MACHINE=integratorcp|MACHINE=beagleboardxm|MACHINE=beaglebone|MACHINE=raspberrypi)] CONFIG_HID_OUT (choice)
|
---|
[6ac14a70] | 453 |
|
---|
[8de4421] | 454 | % Output device class
|
---|
| 455 | @ "generic" Monitor or serial line
|
---|
| 456 | @ "none" No output device
|
---|
[7a67416] | 457 | ! [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)
|
---|
[1c6b3a2] | 458 |
|
---|
[8de4421] | 459 | % PC keyboard support
|
---|
[24b06199] | 460 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_PC_KBD (y/n)
|
---|
[1c6b3a2] | 461 |
|
---|
[449d4ecc] | 462 | % PC keyboard support
|
---|
| 463 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_PC_KBD (y/n)
|
---|
| 464 |
|
---|
[c0d77f7] | 465 | % PC keyboard support
|
---|
[5012203] | 466 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=arm32&MACHINE=integratorcp] CONFIG_AT_KBD (y/n)
|
---|
[c0d77f7] | 467 |
|
---|
[232cd4f] | 468 | % Support for msim keyboard
|
---|
[3c50cddc] | 469 | ! [CONFIG_HID_IN=generic&MACHINE=msim] CONFIG_MSIM_KBD (y/n)
|
---|
[8de4421] | 470 |
|
---|
[232cd4f] | 471 | % Support for msim printer
|
---|
[3c50cddc] | 472 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&MACHINE=msim] CONFIG_MSIM_PRN (y/n)
|
---|
[04d672c3] | 473 |
|
---|
[d6d04e7] | 474 | % Support for VIA CUDA controller
|
---|
| 475 | ! [CONFIG_HID_IN=generic&PLATFORM=ppc32] CONFIG_VIA_CUDA (y/n)
|
---|
| 476 |
|
---|
[9693835] | 477 | % Support for NS16550 controller
|
---|
[03976d60] | 478 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic] CONFIG_NS16550 (y/n)
|
---|
[9693835] | 479 |
|
---|
[449d4ecc] | 480 | % Support for NS16550 controller
|
---|
| 481 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_NS16550 (y/n)
|
---|
| 482 |
|
---|
[c882505] | 483 | % Support for PL011 UART
|
---|
| 484 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=integratorcp|MACHINE=raspberrypi)] CONFIG_PL011_UART (y/n)
|
---|
[8ec4144] | 485 |
|
---|
[24b06199] | 486 | % Support for NS16550 controller (kernel console)
|
---|
[6d7d4f1] | 487 | ! [(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)
|
---|
[24b06199] | 488 |
|
---|
| 489 | % Use NS16550 controller as serial input (kernel console)
|
---|
| 490 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial)&(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_NS16550_KCON=y] CONFIG_NS16550 (y)
|
---|
| 491 |
|
---|
| 492 | % Use NS16550 controller as dummy serial output (kernel console)
|
---|
[6bbe470] | 493 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_NS16550_KCON=y] CONFIG_NS16550_OUT (y)
|
---|
[3296df5] | 494 |
|
---|
[f1fc83a] | 495 | % Support for Samsung S3C24XX on-chip UART
|
---|
| 496 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&MACHINE=gta02] CONFIG_S3C24XX_UART (y/n)
|
---|
| 497 |
|
---|
[ec08286] | 498 | % Support for Samsung S3C24XX on-chip interrupt controller
|
---|
| 499 | ! [PLATFORM=arm32&MACHINE=gta02] CONFIG_S3C24XX_IRQC (y)
|
---|
| 500 |
|
---|
[6f07226] | 501 | % Support for TI AM335x timers support
|
---|
| 502 | ! [PLATFORM=arm32&MACHINE=beaglebone] CONFIG_AM335X_TIMERS (y)
|
---|
| 503 |
|
---|
[7ca8422b] | 504 | % Support for OMAP on-chip UART
|
---|
| 505 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] CONFIG_OMAP_UART (y/n)
|
---|
[d2707fc] | 506 |
|
---|
[44b2b78] | 507 | % Support for BCM2835 mailbox
|
---|
| 508 | ! [PLATFORM=arm32&MACHINE=raspberrypi] CONFIG_BCM2835_MAILBOX (y/n)
|
---|
| 509 |
|
---|
[87bedd1c] | 510 | % Support for i8042 controller
|
---|
[8de4421] | 511 | ! [CONFIG_PC_KBD=y] CONFIG_I8042 (y)
|
---|
[9a0367f] | 512 |
|
---|
[87bedd1c] | 513 | % Support for pl050 controller
|
---|
[6ac14a70] | 514 | ! [CONFIG_HID_IN=generic&PLATFORM=arm32&MACHINE=integratorcp] CONFIG_PL050 (y)
|
---|
| 515 |
|
---|
[9693835] | 516 | % Sun keyboard support
|
---|
[336d2f52] | 517 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic&CONFIG_NS16550=y] CONFIG_SUN_KBD (y)
|
---|
[9693835] | 518 |
|
---|
[2a77841d] | 519 | % Macintosh ADB keyboard support
|
---|
| 520 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=ppc32&(CONFIG_VIA_CUDA=y)] CONFIG_MAC_KBD (y)
|
---|
| 521 |
|
---|
[8de4421] | 522 | % Dummy serial line input
|
---|
[3c50cddc] | 523 | ! [CONFIG_MSIM_KBD=y|CONFIG_ARM_KBD=y] CONFIG_DSRLNIN (y)
|
---|
[9a0367f] | 524 |
|
---|
[8de4421] | 525 | % Dummy serial line output
|
---|
[3c50cddc] | 526 | ! [CONFIG_MSIM_PRN=y|CONFIG_ARM_PRN=y] CONFIG_DSRLNOUT (y)
|
---|
[411b6a6] | 527 |
|
---|
[8de4421] | 528 | % Serial line input module
|
---|
[d776329b] | 529 | ! [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)
|
---|
[8de4421] | 530 |
|
---|
[1c6b3a2] | 531 | % EGA support
|
---|
[8de4421] | 532 | ! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_EGA (y/n)
|
---|
| 533 |
|
---|
[449d4ecc] | 534 | % EGA support
|
---|
| 535 | ! [CONFIG_HID_OUT=generic&PLATFORM=ia64&MACHINE=i460GX] CONFIG_EGA (y/n)
|
---|
[8de4421] | 536 |
|
---|
| 537 | % Framebuffer support
|
---|
[d0688a3] | 538 | ! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ppc32)] CONFIG_FB (y/n)
|
---|
[8de4421] | 539 |
|
---|
[00287cc] | 540 | % Framebuffer support
|
---|
[03976d60] | 541 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=arm32] CONFIG_FB (y/n)
|
---|
| 542 |
|
---|
| 543 | % Framebuffer support
|
---|
| 544 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=sparc64&MACHINE=generic] CONFIG_FB (y/n)
|
---|
[98a4e76] | 545 |
|
---|
[421c833] | 546 | % Default framebuffer mode
|
---|
| 547 | @ "640x480"
|
---|
| 548 | @ "800x600"
|
---|
| 549 | @ "1024x768"
|
---|
| 550 | @ "1152x720"
|
---|
| 551 | @ "1152x864"
|
---|
[46757a6] | 552 | @ "1280x720"
|
---|
| 553 | @ "1280x800"
|
---|
[421c833] | 554 | @ "1280x960"
|
---|
| 555 | @ "1280x1024"
|
---|
| 556 | @ "1400x1050"
|
---|
| 557 | @ "1440x900"
|
---|
| 558 | @ "1440x1050"
|
---|
| 559 | @ "1600x1200"
|
---|
| 560 | @ "1920x1080"
|
---|
| 561 | @ "1920x1200"
|
---|
[ee685630] | 562 | ! [(PLATFORM=ia32|PLATFORM=amd64|MACHINE=beagleboardxm)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_BFB_MODE (choice)
|
---|
[421c833] | 563 |
|
---|
| 564 | % Default framebuffer depth
|
---|
[9a0367f] | 565 | @ "8"
|
---|
| 566 | @ "16"
|
---|
| 567 | @ "24"
|
---|
[c7b9c5d6] | 568 | @ "32"
|
---|
[ee685630] | 569 | ! [(PLATFORM=ia32|PLATFORM=amd64|MACHINE=beagleboardxm)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_BFB_BPP (choice)
|
---|
[9a0367f] | 570 |
|
---|
| 571 | % Start AP processors by the loader
|
---|
[a1d5167] | 572 | ! [PLATFORM=sparc64&CONFIG_SMP=y] CONFIG_AP (y/n)
|
---|
[9a0367f] | 573 |
|
---|
[7fb3f1c] | 574 | % Dynamic linking support
|
---|
| 575 | ! [PLATFORM=ia32] CONFIG_RTLD (n/y)
|
---|
[7a67416] | 576 | ! [PLATFORM=abs32le|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64|PLATFORM=sparc64] CONFIG_RTLD (n)
|
---|
[7fb3f1c] | 577 |
|
---|
[ec3e2ed] | 578 | % Build shared libraries
|
---|
[7fb3f1c] | 579 | ! [CONFIG_RTLD=y] CONFIG_BUILD_SHARED_LIBS (n/y)
|
---|
| 580 | ! [CONFIG_RTLD=n] CONFIG_BUILD_SHARED_LIBS (n)
|
---|
[1ea99cc] | 581 |
|
---|
[ec3e2ed] | 582 | % Link against shared libraries
|
---|
| 583 | ! [CONFIG_BUILD_SHARED_LIBS=y] CONFIG_USE_SHARED_LIBS (n/y)
|
---|
| 584 | ! [CONFIG_BUILD_SHARED_LIBS=n] CONFIG_USE_SHARED_LIBS (n)
|
---|
[1ea99cc] | 585 |
|
---|
[3acb285a] | 586 | % Launch (devman) test drivers
|
---|
[774fc85] | 587 | ! [CONFIG_DEBUG=y] CONFIG_TEST_DRIVERS (n/y)
|
---|
[3acb285a] | 588 |
|
---|
[dafa2d04] | 589 | % Write core files
|
---|
| 590 | ! CONFIG_WRITE_CORE_FILES (n/y)
|
---|
[827d73f] | 591 |
|
---|
[865b981] | 592 | % Include userspace unit tests (PCUT)
|
---|
[01579ad] | 593 | ! CONFIG_PCUT_TESTS (n/y)
|
---|
| 594 |
|
---|
[824208bf] | 595 | % Include PCUT self-tests
|
---|
| 596 | ! CONFIG_PCUT_SELF_TESTS (n/y)
|
---|
| 597 |
|
---|
[a8010272] | 598 | % Include development files (headers, libraries)
|
---|
[d21e935c] | 599 | ! CONFIG_DEVEL_FILES (n/y)
|
---|
[a8010272] | 600 |
|
---|
[be6cef1b] | 601 | % Strip binaries
|
---|
[fa9616b4] | 602 | ! CONFIG_STRIP_BINARIES (n/y)
|
---|
[be6cef1b] | 603 |
|
---|
[476ac3b] | 604 | % Strip revision information (helpful when comparing outputs)
|
---|
| 605 | ! CONFIG_STRIP_REVISION_INFO (n/y)
|
---|
| 606 |
|
---|
[2c52073] | 607 | % Optimization level
|
---|
| 608 | @ "3" Level 3 (recommended).
|
---|
| 609 | @ "2" Level 2.
|
---|
| 610 | @ "1" Level 1.
|
---|
| 611 | @ "0" Disable optimizations.
|
---|
| 612 | @ "s" Optimize for size.
|
---|
| 613 | @ "g" Enable only optimizations that don't harm debugging.
|
---|
| 614 | @ "fast" Level 3 + aggressive optimizations that can affect adherence to standards.
|
---|
| 615 | ! OPTIMIZATION (choice)
|
---|
[fa9616b4] | 616 |
|
---|
[15b592b] | 617 | % Barebone build with essential binaries only
|
---|
| 618 | ! CONFIG_BAREBONE (n/y)
|
---|
[be6cef1b] | 619 |
|
---|
[9ded977] | 620 | % Line debugging information
|
---|
| 621 | ! [CONFIG_STRIP_BINARIES!=y] CONFIG_LINE_DEBUG (n/y)
|
---|
[42be09b] | 622 |
|
---|
[f4e508f] | 623 | # USB settings
|
---|
[f64e81a] | 624 |
|
---|
[960ff451] | 625 | % Start virtual USB host controller
|
---|
| 626 | ! CONFIG_RUN_VIRTUAL_USB_HC (n/y)
|
---|
| 627 |
|
---|
[b4f291d] | 628 | % OHCI root hub port power switching
|
---|
[ca2815e] | 629 | @ "no" All root hub ports are always powered.
|
---|
| 630 | @ "ganged" Root hub ports are all powered or all off.
|
---|
| 631 | @ "per_port" Powered status of every root hub port is independent.
|
---|
[b9bbaad] | 632 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ppc32] OHCI_POWER_SWITCH (choice)
|
---|
[83285fd] | 633 |
|
---|
| 634 | % GRUB boot loader architecture
|
---|
| 635 | @ "pc" GRUB for PC
|
---|
| 636 | @ "efi" GRUB for UEFI
|
---|
| 637 | ! [PLATFORM=ia32|PLATFORM=amd64] GRUB_ARCH (choice)
|
---|
[5711f6ec] | 638 |
|
---|
| 639 | % uImage OS type
|
---|
| 640 | @ "2" NetBSD stage 2 boot loader
|
---|
[e1530ec2] | 641 | ! [PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] UIMAGE_OS (choice)
|
---|
[5711f6ec] | 642 |
|
---|
| 643 | % uImage OS type
|
---|
| 644 | @ "5" Linux kernel
|
---|
[e1530ec2] | 645 | ! [PLATFORM=arm32&MACHINE!=beagleboardxm&MACHINE!=beaglebone] UIMAGE_OS (choice)
|
---|