[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 |
|
---|
[954c024] | 86 | % Quad float type
|
---|
| 87 | @ "hard" Hardware
|
---|
| 88 | @ "soft" Software
|
---|
| 89 | ! [PLATFORM=sparc64] QUADFLOAT (choice)
|
---|
| 90 |
|
---|
[f1aa1db] | 91 | % CPU type
|
---|
[e7b0b85] | 92 | @ "cortex_a8" ARM Cortex A-8
|
---|
[b1011dae] | 93 | ! [PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] PROCESSOR (choice)
|
---|
[f1aa1db] | 94 |
|
---|
| 95 | % CPU type
|
---|
[e7b0b85] | 96 | @ "arm920t" ARM920T
|
---|
| 97 | ! [PLATFORM=arm32&MACHINE=gta02] PROCESSOR (choice)
|
---|
[f1aa1db] | 98 |
|
---|
| 99 | % CPU type
|
---|
[e7b0b85] | 100 | @ "arm926ej_s" ARM926EJ-S
|
---|
| 101 | ! [PLATFORM=arm32&MACHINE=integratorcp] PROCESSOR (choice)
|
---|
| 102 |
|
---|
[8f9d70b] | 103 | % CPU type
|
---|
[c92dfed] | 104 | @ "arm1176jzf_s" ARM1176JZF-S
|
---|
[8f9d70b] | 105 | ! [PLATFORM=arm32&MACHINE=raspberrypi] PROCESSOR (choice)
|
---|
[e7b0b85] | 106 |
|
---|
| 107 | # Add more ARMv4 CPUs
|
---|
[5d9e36b] | 108 | % CPU arch
|
---|
[f1aa1db] | 109 | @ "armv4" ARMv4
|
---|
[e7b0b85] | 110 | ! [PLATFORM=arm32&(PROCESSOR=arm920t)] PROCESSOR_ARCH (choice)
|
---|
[f1aa1db] | 111 |
|
---|
[e7b0b85] | 112 | # Add more ARMv5 CPUs
|
---|
| 113 | % CPU arch
|
---|
[f1aa1db] | 114 | @ "armv5" ARMv5
|
---|
[e7b0b85] | 115 | ! [PLATFORM=arm32&(PROCESSOR=arm926ej_s)] PROCESSOR_ARCH (choice)
|
---|
[f1aa1db] | 116 |
|
---|
[8f9d70b] | 117 | # Add more ARMv6 CPUs
|
---|
| 118 | % CPU arch
|
---|
| 119 | @ "armv6" ARMv6
|
---|
[c92dfed] | 120 | ! [PLATFORM=arm32&(PROCESSOR=arm1176jzf_s)] PROCESSOR_ARCH (choice)
|
---|
[8f9d70b] | 121 |
|
---|
[e7b0b85] | 122 | # Add more ARMv7-A CPUs
|
---|
| 123 | % CPU arch
|
---|
[49a736e2] | 124 | @ "armv7_a" ARMv7-A
|
---|
[e7b0b85] | 125 | ! [PLATFORM=arm32&(PROCESSOR=cortex_a8)] PROCESSOR_ARCH (choice)
|
---|
[f1aa1db] | 126 |
|
---|
[5a00ee0] | 127 | % CPU type
|
---|
| 128 | @ "R4000" MIPS R4000
|
---|
| 129 | ! [PLATFORM=mips32&MACHINE=msim] PROCESSOR (choice)
|
---|
| 130 |
|
---|
| 131 | % CPU type
|
---|
| 132 | @ "4Kc" MIPS 4Kc
|
---|
[c0a7545] | 133 | ! [PLATFORM=mips32&(MACHINE=bmalta|MACHINE=lmalta)] PROCESSOR (choice)
|
---|
[5a00ee0] | 134 |
|
---|
[4bf0926e] | 135 | % Kernel memory model
|
---|
| 136 | @ "kernel" Kernel
|
---|
| 137 | @ "large" Large
|
---|
| 138 | ! [PLATFORM=amd64] MEMORY_MODEL (choice)
|
---|
| 139 |
|
---|
[af8e565] | 140 | % RAM disk format
|
---|
[9a0367f] | 141 | @ "tmpfs" TMPFS image
|
---|
| 142 | @ "fat" FAT16 image
|
---|
[d06c4ae] | 143 | @ "ext4fs" ext4 image
|
---|
[9a0367f] | 144 | ! RDFMT (choice)
|
---|
| 145 |
|
---|
| 146 |
|
---|
[98a4e76] | 147 | ## Mapping between platform and kernel architecture
|
---|
| 148 |
|
---|
[50fda24] | 149 | % Kernel architecture
|
---|
| 150 | @ "abs32le"
|
---|
| 151 | ! [PLATFORM=abs32le] KARCH (choice)
|
---|
| 152 |
|
---|
[98a4e76] | 153 | % Kernel architecture
|
---|
| 154 | @ "amd64"
|
---|
| 155 | ! [PLATFORM=amd64] KARCH (choice)
|
---|
| 156 |
|
---|
| 157 | % Kernel architecture
|
---|
| 158 | @ "arm32"
|
---|
| 159 | ! [PLATFORM=arm32] KARCH (choice)
|
---|
| 160 |
|
---|
| 161 | % Kernel architecture
|
---|
| 162 | @ "ia32"
|
---|
| 163 | ! [PLATFORM=ia32] KARCH (choice)
|
---|
| 164 |
|
---|
| 165 | % Kernel architecture
|
---|
| 166 | @ "ia32xen"
|
---|
| 167 | ! [PLATFORM=ia32xen] KARCH (choice)
|
---|
| 168 |
|
---|
| 169 | % Kernel architecture
|
---|
| 170 | @ "ia64"
|
---|
| 171 | ! [PLATFORM=ia64] KARCH (choice)
|
---|
| 172 |
|
---|
| 173 | % Kernel architecture
|
---|
| 174 | @ "mips32"
|
---|
| 175 | ! [PLATFORM=mips32] KARCH (choice)
|
---|
| 176 |
|
---|
| 177 | % Kernel architecture
|
---|
| 178 | @ "ppc32"
|
---|
| 179 | ! [PLATFORM=ppc32] KARCH (choice)
|
---|
| 180 |
|
---|
| 181 | % Kernel architecture
|
---|
| 182 | @ "ppc64"
|
---|
| 183 | ! [PLATFORM=ppc64] KARCH (choice)
|
---|
| 184 |
|
---|
[7a67416] | 185 | % Kernel architecture
|
---|
| 186 | @ "riscv64"
|
---|
| 187 | ! [PLATFORM=riscv64] KARCH (choice)
|
---|
| 188 |
|
---|
[98a4e76] | 189 | % Kernel architecture
|
---|
| 190 | @ "sparc64"
|
---|
| 191 | ! [PLATFORM=sparc64] KARCH (choice)
|
---|
| 192 |
|
---|
| 193 |
|
---|
| 194 | ## Mapping between platform and user space architecture
|
---|
| 195 |
|
---|
[50fda24] | 196 | % User space architecture
|
---|
| 197 | @ "abs32le"
|
---|
| 198 | ! [PLATFORM=abs32le] UARCH (choice)
|
---|
| 199 |
|
---|
[98a4e76] | 200 | % User space architecture
|
---|
| 201 | @ "amd64"
|
---|
| 202 | ! [PLATFORM=amd64] UARCH (choice)
|
---|
| 203 |
|
---|
| 204 | % User space architecture
|
---|
| 205 | @ "arm32"
|
---|
| 206 | ! [PLATFORM=arm32] UARCH (choice)
|
---|
| 207 |
|
---|
| 208 | % User space architecture
|
---|
| 209 | @ "ia32"
|
---|
| 210 | ! [PLATFORM=ia32|PLATFORM=ia32xen] UARCH (choice)
|
---|
| 211 |
|
---|
| 212 | % User space architecture
|
---|
| 213 | @ "ia64"
|
---|
| 214 | ! [PLATFORM=ia64] UARCH (choice)
|
---|
| 215 |
|
---|
| 216 | % User space architecture
|
---|
| 217 | @ "mips32"
|
---|
[232cd4f] | 218 | ! [PLATFORM=mips32&(MACHINE=msim|MACHINE=lmalta)] UARCH (choice)
|
---|
[98a4e76] | 219 |
|
---|
| 220 | % User space architecture
|
---|
| 221 | @ "mips32eb"
|
---|
[232cd4f] | 222 | ! [PLATFORM=mips32&MACHINE=bmalta] UARCH (choice)
|
---|
[98a4e76] | 223 |
|
---|
| 224 | % User space architecture
|
---|
| 225 | @ "ppc32"
|
---|
| 226 | ! [PLATFORM=ppc32] UARCH (choice)
|
---|
| 227 |
|
---|
| 228 | % User space architecture
|
---|
| 229 | @ "ppc64"
|
---|
| 230 | ! [PLATFORM=ppc64] UARCH (choice)
|
---|
| 231 |
|
---|
[7a67416] | 232 | % User space architecture
|
---|
| 233 | @ "riscv64"
|
---|
| 234 | ! [PLATFORM=riscv64] UARCH (choice)
|
---|
| 235 |
|
---|
[98a4e76] | 236 | % User space architecture
|
---|
| 237 | @ "sparc64"
|
---|
| 238 | ! [PLATFORM=sparc64] UARCH (choice)
|
---|
| 239 |
|
---|
| 240 |
|
---|
| 241 | ## Mapping between platform and boot architecture
|
---|
| 242 |
|
---|
[50fda24] | 243 | % Boot architecture
|
---|
| 244 | @ "abs32le"
|
---|
| 245 | ! [PLATFORM=abs32le] BARCH (choice)
|
---|
| 246 |
|
---|
[98a4e76] | 247 | % Boot architecture
|
---|
| 248 | @ "amd64"
|
---|
| 249 | ! [PLATFORM=amd64] BARCH (choice)
|
---|
| 250 |
|
---|
| 251 | % Boot architecture
|
---|
| 252 | @ "arm32"
|
---|
| 253 | ! [PLATFORM=arm32] BARCH (choice)
|
---|
| 254 |
|
---|
| 255 | % Boot architecture
|
---|
| 256 | @ "ia32"
|
---|
| 257 | ! [PLATFORM=ia32] BARCH (choice)
|
---|
| 258 |
|
---|
| 259 | % Boot architecture
|
---|
| 260 | @ "ia32xen"
|
---|
| 261 | ! [PLATFORM=ia32xen] BARCH (choice)
|
---|
| 262 |
|
---|
| 263 | % Boot architecture
|
---|
| 264 | @ "ia64"
|
---|
| 265 | ! [PLATFORM=ia64] BARCH (choice)
|
---|
| 266 |
|
---|
| 267 | % Boot architecture
|
---|
| 268 | @ "mips32"
|
---|
| 269 | ! [PLATFORM=mips32] BARCH (choice)
|
---|
| 270 |
|
---|
| 271 | % Boot architecture
|
---|
| 272 | @ "ppc32"
|
---|
| 273 | ! [PLATFORM=ppc32] BARCH (choice)
|
---|
| 274 |
|
---|
| 275 | % Boot architecture
|
---|
| 276 | @ "ppc64"
|
---|
| 277 | ! [PLATFORM=ppc64] BARCH (choice)
|
---|
| 278 |
|
---|
[7a67416] | 279 | % Boot architecture
|
---|
| 280 | @ "riscv64"
|
---|
| 281 | ! [PLATFORM=riscv64] BARCH (choice)
|
---|
| 282 |
|
---|
[98a4e76] | 283 | % Boot architecture
|
---|
| 284 | @ "sparc64"
|
---|
| 285 | ! [PLATFORM=sparc64] BARCH (choice)
|
---|
| 286 |
|
---|
| 287 |
|
---|
| 288 | ## Mapping between platform and image format
|
---|
| 289 |
|
---|
| 290 | % Image format
|
---|
| 291 | @ "binary"
|
---|
| 292 | ! [PLATFORM=mips32&MACHINE=msim] IMAGE (choice)
|
---|
| 293 |
|
---|
[5a00ee0] | 294 | % Image format
|
---|
| 295 | @ "elf"
|
---|
[c0a7545] | 296 | ! [PLATFORM=mips32&(MACHINE=bmalta|MACHINE=lmalta)] IMAGE (choice)
|
---|
[5a00ee0] | 297 |
|
---|
[b51cf2c] | 298 |
|
---|
[9a0367f] | 299 | ## Compiler options
|
---|
| 300 |
|
---|
| 301 | % Compiler
|
---|
[bbe5e34] | 302 | @ "gcc_cross" GNU C Compiler (HelenOS-specific cross-compiler)
|
---|
[795e2bf] | 303 | @ "clang" Clang
|
---|
[d75dc05] | 304 | ! COMPILER (choice)
|
---|
[50fda24] | 305 |
|
---|
[a0a273e] | 306 | % Clang Integrated Assembler
|
---|
| 307 | @ "default" Use architecture default.
|
---|
| 308 | @ "yes" Use integrated assembler.
|
---|
| 309 | @ "no" Use GNU Assembler.
|
---|
| 310 | ! [COMPILER=clang] INTEGRATED_AS (choice)
|
---|
[9a0367f] | 311 |
|
---|
[81983e3] | 312 | ## Cross-compiler target for abstract architecture
|
---|
| 313 |
|
---|
| 314 | % Cross-compiler target
|
---|
| 315 | @ "arm32" ARM 32-bit
|
---|
| 316 | @ "ia32" Intel IA-32
|
---|
| 317 | @ "mips32" MIPS 32-bit
|
---|
[bbe5e34] | 318 | ! [PLATFORM=abs32le&COMPILER=gcc_cross] CROSS_TARGET (choice)
|
---|
[81983e3] | 319 |
|
---|
[9a0367f] | 320 |
|
---|
[98a4e76] | 321 | ## Kernel configuration
|
---|
| 322 |
|
---|
| 323 | % Fences
|
---|
[1c6b3a2] | 324 | ! [PLATFORM=ia32&(PROCESSOR=athlon_xp|PROCESSOR=athlon_mp|PROCESSOR=pentium3)] CONFIG_FENCES_P3 (y)
|
---|
[98a4e76] | 325 |
|
---|
| 326 | % Fences
|
---|
[1c6b3a2] | 327 | ! [PLATFORM=ia32&(PROCESSOR=pentium4|PROCESSOR=core)] CONFIG_FENCES_P4 (y)
|
---|
[30e2bba] | 328 |
|
---|
| 329 | % Fences
|
---|
| 330 | ! [PLATFORM=amd64] CONFIG_FENCES_P4 (y)
|
---|
[98a4e76] | 331 |
|
---|
[6eeb4a3] | 332 | % IOMAP bitmap support
|
---|
| 333 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_IOMAP_BITMAP (y)
|
---|
| 334 |
|
---|
| 335 | % IOMAP dummy support
|
---|
[fdc29300] | 336 | ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64|PLATFORM=sparc64] CONFIG_IOMAP_DUMMY (y)
|
---|
[6eeb4a3] | 337 |
|
---|
[98a4e76] | 338 | % ACPI support
|
---|
| 339 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_ACPI (y)
|
---|
| 340 |
|
---|
| 341 | % Hierarchical page tables support
|
---|
[d776329b] | 342 | ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64] CONFIG_PAGE_PT (y)
|
---|
[98a4e76] | 343 |
|
---|
| 344 | % Page hash table support
|
---|
[6c1c1f7] | 345 | ! [PLATFORM=ia64|PLATFORM=sparc64] CONFIG_PAGE_HT (y)
|
---|
[98a4e76] | 346 |
|
---|
| 347 | % Software integer division support
|
---|
[d776329b] | 348 | ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32] CONFIG_SOFTINT (y)
|
---|
[98a4e76] | 349 |
|
---|
| 350 | % ASID support
|
---|
[d776329b] | 351 | ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID (y)
|
---|
[98a4e76] | 352 |
|
---|
| 353 | % ASID FIFO support
|
---|
[d776329b] | 354 | ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y)
|
---|
[98a4e76] | 355 |
|
---|
| 356 | % OpenFirmware tree support
|
---|
[e731b0d] | 357 | ! [PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_OFW_TREE (y)
|
---|
| 358 |
|
---|
| 359 | % OpenFirmware PCI bus support
|
---|
| 360 | ! [PLATFORM=sparc64] CONFIG_OFW_PCI (y)
|
---|
[98a4e76] | 361 |
|
---|
[5d8d71e] | 362 | % Multiboot standard support
|
---|
| 363 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_MULTIBOOT (y)
|
---|
| 364 |
|
---|
[98a4e76] | 365 | % FPU support
|
---|
[30730e5] | 366 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia64|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_FPU (y)
|
---|
[df7f5cea] | 367 |
|
---|
[d9be488] | 368 | ## ARMv7 made FPU hardware compulsory
|
---|
[22a0ee8] | 369 | % FPU support
|
---|
[5d9e36b] | 370 | ! [PLATFORM=arm32&PROCESSOR_ARCH=armv7_a] CONFIG_FPU (y)
|
---|
[22a0ee8] | 371 |
|
---|
[d238aa9] | 372 | % FPU support
|
---|
| 373 | ! [PLATFORM=arm32&MACHINE=integratorcp] CONFIG_FPU (y)
|
---|
[22a0ee8] | 374 |
|
---|
[98a4e76] | 375 |
|
---|
[9a0367f] | 376 | ## Kernel features options
|
---|
| 377 |
|
---|
| 378 | % Support for SMP
|
---|
[6c1c1f7] | 379 | ! [(PLATFORM=ia32&PROCESSOR!=athlon_xp)|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64|(PLATFORM=mips32&MACHINE=msim)|PLATFORM=abs32le] CONFIG_SMP (y/n)
|
---|
[9a0367f] | 380 |
|
---|
[04d672c3] | 381 | % Debug build
|
---|
| 382 | ! CONFIG_DEBUG (y/n)
|
---|
| 383 |
|
---|
[2f7d77c6] | 384 | % Sanitize undefined behavior (userspace)
|
---|
| 385 | ! CONFIG_UBSAN (n/y)
|
---|
| 386 |
|
---|
| 387 | % Sanitize undefined behavior (kernel)
|
---|
| 388 | ! CONFIG_UBSAN_KERNEL (n/y)
|
---|
| 389 |
|
---|
[f6372be9] | 390 | % Track owner for futexes in userspace.
|
---|
| 391 | ! CONFIG_DEBUG_FUTEX (y/n)
|
---|
| 392 |
|
---|
[04d672c3] | 393 | % Deadlock detection support for spinlocks
|
---|
| 394 | ! [CONFIG_DEBUG=y&CONFIG_SMP=y] CONFIG_DEBUG_SPINLOCK (y/n)
|
---|
| 395 |
|
---|
[9a0367f] | 396 | % Lazy FPU context switching
|
---|
[957ce9a5] | 397 | ! [CONFIG_FPU=y] CONFIG_FPU_LAZY (y/n)
|
---|
[9a0367f] | 398 |
|
---|
| 399 | % Use VHPT
|
---|
[a1d5167] | 400 | ! [PLATFORM=ia64] CONFIG_VHPT (n/y)
|
---|
[9a0367f] | 401 |
|
---|
| 402 | % Use TSB
|
---|
[a1d5167] | 403 | ! [PLATFORM=sparc64] CONFIG_TSB (y/n)
|
---|
[1c6b3a2] | 404 |
|
---|
| 405 | % IO SAPIC on default address support
|
---|
[a1d5167] | 406 | ! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n)
|
---|
[1c6b3a2] | 407 |
|
---|
| 408 | % Virtually indexed D-cache support
|
---|
[a1d5167] | 409 | ! [PLATFORM=sparc64] CONFIG_VIRT_IDX_DCACHE (y/n)
|
---|
[1c6b3a2] | 410 |
|
---|
| 411 | % Support for userspace debuggers
|
---|
[a1d5167] | 412 | ! CONFIG_UDEBUG (y/n)
|
---|
[1c6b3a2] | 413 |
|
---|
| 414 | % Kernel console support
|
---|
[a1d5167] | 415 | ! CONFIG_KCONSOLE (y/n)
|
---|
[1c6b3a2] | 416 |
|
---|
[e2b762ec] | 417 | % Kernel symbol information
|
---|
| 418 | ! CONFIG_SYMTAB (y/n)
|
---|
| 419 |
|
---|
[1c6b3a2] | 420 | % Detailed kernel logging
|
---|
[a1d5167] | 421 | ! CONFIG_LOG (n/y)
|
---|
[1c6b3a2] | 422 |
|
---|
[ad8f03d2] | 423 | % Kernel function tracing
|
---|
| 424 | ! CONFIG_TRACE (n/y)
|
---|
| 425 |
|
---|
[1c6b3a2] | 426 | % Compile kernel tests
|
---|
[a1d5167] | 427 | ! CONFIG_TEST (y/n)
|
---|
[1c6b3a2] | 428 |
|
---|
[cf84f1bf] | 429 | % Use link-time optimization
|
---|
[bbe5e34] | 430 | ! [COMPILER=gcc_cross] CONFIG_LTO (n/y)
|
---|
[cf84f1bf] | 431 |
|
---|
[d4d36f9] | 432 | % Kernel RCU algorithm
|
---|
| 433 | @ "PREEMPT_PODZIMEK" Preemptible Podzimek-RCU
|
---|
| 434 | @ "PREEMPT_A" Preemptible A-RCU
|
---|
| 435 | ! RCU (choice)
|
---|
| 436 |
|
---|
[dcc2c5d] | 437 | % Compress init data
|
---|
| 438 | ! CONFIG_COMPRESSED_INIT (y/n)
|
---|
[04d672c3] | 439 |
|
---|
[b7acf38] | 440 | ## User space features options
|
---|
| 441 |
|
---|
| 442 | % Light weight futex locks
|
---|
| 443 | ! FUTEX_UPGRADABLE (n/y)
|
---|
| 444 |
|
---|
[04d672c3] | 445 |
|
---|
[1c6b3a2] | 446 | ## Hardware support
|
---|
[9a0367f] | 447 |
|
---|
[6ac14a70] | 448 | % Input device class
|
---|
| 449 | @ "generic" Keyboard or serial line
|
---|
| 450 | ! [PLATFORM=arm32&MACHINE=integratorcp] CONFIG_HID_IN (choice)
|
---|
| 451 |
|
---|
[4d29d01] | 452 | % Input device class
|
---|
[71385d4f] | 453 | @ "generic" Keyboard or serial line
|
---|
| 454 | @ "none" No input device
|
---|
[7a67416] | 455 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64|PLATFORM=sparc64] CONFIG_HID_IN (choice)
|
---|
[04d672c3] | 456 |
|
---|
[449d4ecc] | 457 | % Input device class
|
---|
| 458 | @ "generic" Keyboard or serial line
|
---|
| 459 | @ "keyboard" Keyboard
|
---|
| 460 | @ "serial" Serial line
|
---|
| 461 | @ "none" No input device
|
---|
| 462 | ! [PLATFORM=ia64&MACHINE=i460GX] CONFIG_HID_IN (choice)
|
---|
| 463 |
|
---|
[6ac14a70] | 464 | % Output device class
|
---|
| 465 | @ "generic" Monitor or serial line
|
---|
[8f9d70b] | 466 | ! [PLATFORM=arm32&(MACHINE=gta02|MACHINE=integratorcp|MACHINE=beagleboardxm|MACHINE=beaglebone|MACHINE=raspberrypi)] CONFIG_HID_OUT (choice)
|
---|
[6ac14a70] | 467 |
|
---|
[8de4421] | 468 | % Output device class
|
---|
| 469 | @ "generic" Monitor or serial line
|
---|
| 470 | @ "none" No output device
|
---|
[7a67416] | 471 | ! [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] | 472 |
|
---|
[8de4421] | 473 | % PC keyboard support
|
---|
[24b06199] | 474 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_PC_KBD (y/n)
|
---|
[1c6b3a2] | 475 |
|
---|
[449d4ecc] | 476 | % PC keyboard support
|
---|
| 477 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_PC_KBD (y/n)
|
---|
| 478 |
|
---|
[c0d77f7] | 479 | % PC keyboard support
|
---|
[5012203] | 480 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=arm32&MACHINE=integratorcp] CONFIG_AT_KBD (y/n)
|
---|
[c0d77f7] | 481 |
|
---|
[232cd4f] | 482 | % Support for msim keyboard
|
---|
[3c50cddc] | 483 | ! [CONFIG_HID_IN=generic&MACHINE=msim] CONFIG_MSIM_KBD (y/n)
|
---|
[8de4421] | 484 |
|
---|
[232cd4f] | 485 | % Support for msim printer
|
---|
[3c50cddc] | 486 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&MACHINE=msim] CONFIG_MSIM_PRN (y/n)
|
---|
[04d672c3] | 487 |
|
---|
[d6d04e7] | 488 | % Support for VIA CUDA controller
|
---|
| 489 | ! [CONFIG_HID_IN=generic&PLATFORM=ppc32] CONFIG_VIA_CUDA (y/n)
|
---|
| 490 |
|
---|
[9693835] | 491 | % Support for NS16550 controller
|
---|
[03976d60] | 492 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic] CONFIG_NS16550 (y/n)
|
---|
[9693835] | 493 |
|
---|
[449d4ecc] | 494 | % Support for NS16550 controller
|
---|
| 495 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_NS16550 (y/n)
|
---|
| 496 |
|
---|
[c882505] | 497 | % Support for PL011 UART
|
---|
| 498 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=integratorcp|MACHINE=raspberrypi)] CONFIG_PL011_UART (y/n)
|
---|
[8ec4144] | 499 |
|
---|
[24b06199] | 500 | % Support for NS16550 controller (kernel console)
|
---|
[2fc9bfd] | 501 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial|CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_NS16550_KCON (y/n)
|
---|
[24b06199] | 502 |
|
---|
| 503 | % Use NS16550 controller as serial input (kernel console)
|
---|
| 504 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial)&(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_NS16550_KCON=y] CONFIG_NS16550 (y)
|
---|
| 505 |
|
---|
| 506 | % Use NS16550 controller as dummy serial output (kernel console)
|
---|
[6bbe470] | 507 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_NS16550_KCON=y] CONFIG_NS16550_OUT (y)
|
---|
[3296df5] | 508 |
|
---|
[f1fc83a] | 509 | % Support for Samsung S3C24XX on-chip UART
|
---|
| 510 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&MACHINE=gta02] CONFIG_S3C24XX_UART (y/n)
|
---|
| 511 |
|
---|
[ec08286] | 512 | % Support for Samsung S3C24XX on-chip interrupt controller
|
---|
| 513 | ! [PLATFORM=arm32&MACHINE=gta02] CONFIG_S3C24XX_IRQC (y)
|
---|
| 514 |
|
---|
[6f07226] | 515 | % Support for TI AM335x timers support
|
---|
| 516 | ! [PLATFORM=arm32&MACHINE=beaglebone] CONFIG_AM335X_TIMERS (y)
|
---|
| 517 |
|
---|
[7ca8422b] | 518 | % Support for OMAP on-chip UART
|
---|
| 519 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] CONFIG_OMAP_UART (y/n)
|
---|
[d2707fc] | 520 |
|
---|
[44b2b78] | 521 | % Support for BCM2835 mailbox
|
---|
| 522 | ! [PLATFORM=arm32&MACHINE=raspberrypi] CONFIG_BCM2835_MAILBOX (y/n)
|
---|
| 523 |
|
---|
[87bedd1c] | 524 | % Support for i8042 controller
|
---|
[8de4421] | 525 | ! [CONFIG_PC_KBD=y] CONFIG_I8042 (y)
|
---|
[9a0367f] | 526 |
|
---|
[87bedd1c] | 527 | % Support for pl050 controller
|
---|
[6ac14a70] | 528 | ! [CONFIG_HID_IN=generic&PLATFORM=arm32&MACHINE=integratorcp] CONFIG_PL050 (y)
|
---|
| 529 |
|
---|
[9693835] | 530 | % Sun keyboard support
|
---|
[336d2f52] | 531 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic&CONFIG_NS16550=y] CONFIG_SUN_KBD (y)
|
---|
[9693835] | 532 |
|
---|
[2a77841d] | 533 | % Macintosh ADB keyboard support
|
---|
| 534 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=ppc32&(CONFIG_VIA_CUDA=y)] CONFIG_MAC_KBD (y)
|
---|
| 535 |
|
---|
[8de4421] | 536 | % Dummy serial line input
|
---|
[3c50cddc] | 537 | ! [CONFIG_MSIM_KBD=y|CONFIG_ARM_KBD=y] CONFIG_DSRLNIN (y)
|
---|
[9a0367f] | 538 |
|
---|
[8de4421] | 539 | % Dummy serial line output
|
---|
[3c50cddc] | 540 | ! [CONFIG_MSIM_PRN=y|CONFIG_ARM_PRN=y] CONFIG_DSRLNOUT (y)
|
---|
[411b6a6] | 541 |
|
---|
[8de4421] | 542 | % Serial line input module
|
---|
[d776329b] | 543 | ! [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] | 544 |
|
---|
[1c6b3a2] | 545 | % EGA support
|
---|
[8de4421] | 546 | ! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_EGA (y/n)
|
---|
| 547 |
|
---|
[449d4ecc] | 548 | % EGA support
|
---|
| 549 | ! [CONFIG_HID_OUT=generic&PLATFORM=ia64&MACHINE=i460GX] CONFIG_EGA (y/n)
|
---|
[8de4421] | 550 |
|
---|
| 551 | % Framebuffer support
|
---|
[d0688a3] | 552 | ! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ppc32)] CONFIG_FB (y/n)
|
---|
[8de4421] | 553 |
|
---|
[00287cc] | 554 | % Framebuffer support
|
---|
[03976d60] | 555 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=arm32] CONFIG_FB (y/n)
|
---|
| 556 |
|
---|
| 557 | % Framebuffer support
|
---|
| 558 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=sparc64&MACHINE=generic] CONFIG_FB (y/n)
|
---|
[98a4e76] | 559 |
|
---|
[421c833] | 560 | % Default framebuffer mode
|
---|
| 561 | @ "640x480"
|
---|
| 562 | @ "800x600"
|
---|
| 563 | @ "1024x768"
|
---|
| 564 | @ "1152x720"
|
---|
| 565 | @ "1152x864"
|
---|
[46757a6] | 566 | @ "1280x720"
|
---|
| 567 | @ "1280x800"
|
---|
[421c833] | 568 | @ "1280x960"
|
---|
| 569 | @ "1280x1024"
|
---|
| 570 | @ "1400x1050"
|
---|
| 571 | @ "1440x900"
|
---|
| 572 | @ "1440x1050"
|
---|
| 573 | @ "1600x1200"
|
---|
| 574 | @ "1920x1080"
|
---|
| 575 | @ "1920x1200"
|
---|
[ee685630] | 576 | ! [(PLATFORM=ia32|PLATFORM=amd64|MACHINE=beagleboardxm)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_BFB_MODE (choice)
|
---|
[421c833] | 577 |
|
---|
| 578 | % Default framebuffer depth
|
---|
[9a0367f] | 579 | @ "8"
|
---|
| 580 | @ "16"
|
---|
| 581 | @ "24"
|
---|
[c7b9c5d6] | 582 | @ "32"
|
---|
[ee685630] | 583 | ! [(PLATFORM=ia32|PLATFORM=amd64|MACHINE=beagleboardxm)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_BFB_BPP (choice)
|
---|
[9a0367f] | 584 |
|
---|
| 585 | % Start AP processors by the loader
|
---|
[a1d5167] | 586 | ! [PLATFORM=sparc64&CONFIG_SMP=y] CONFIG_AP (y/n)
|
---|
[9a0367f] | 587 |
|
---|
[7fb3f1c] | 588 | % Dynamic linking support
|
---|
| 589 | ! [PLATFORM=ia32] CONFIG_RTLD (n/y)
|
---|
[7a67416] | 590 | ! [PLATFORM=abs32le|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64|PLATFORM=sparc64] CONFIG_RTLD (n)
|
---|
[7fb3f1c] | 591 |
|
---|
[ec3e2ed] | 592 | % Build shared libraries
|
---|
[7fb3f1c] | 593 | ! [CONFIG_RTLD=y] CONFIG_BUILD_SHARED_LIBS (n/y)
|
---|
| 594 | ! [CONFIG_RTLD=n] CONFIG_BUILD_SHARED_LIBS (n)
|
---|
[1ea99cc] | 595 |
|
---|
[ec3e2ed] | 596 | % Link against shared libraries
|
---|
| 597 | ! [CONFIG_BUILD_SHARED_LIBS=y] CONFIG_USE_SHARED_LIBS (n/y)
|
---|
| 598 | ! [CONFIG_BUILD_SHARED_LIBS=n] CONFIG_USE_SHARED_LIBS (n)
|
---|
[1ea99cc] | 599 |
|
---|
[3acb285a] | 600 | % Launch (devman) test drivers
|
---|
[774fc85] | 601 | ! [CONFIG_DEBUG=y] CONFIG_TEST_DRIVERS (n/y)
|
---|
[3acb285a] | 602 |
|
---|
[dafa2d04] | 603 | % Write core files
|
---|
| 604 | ! CONFIG_WRITE_CORE_FILES (n/y)
|
---|
[827d73f] | 605 |
|
---|
[865b981] | 606 | % Include userspace unit tests (PCUT)
|
---|
[01579ad] | 607 | ! CONFIG_PCUT_TESTS (n/y)
|
---|
| 608 |
|
---|
[824208bf] | 609 | % Include PCUT self-tests
|
---|
| 610 | ! CONFIG_PCUT_SELF_TESTS (n/y)
|
---|
| 611 |
|
---|
[a8010272] | 612 | % Include development files (headers, libraries)
|
---|
[d21e935c] | 613 | ! CONFIG_DEVEL_FILES (n/y)
|
---|
[a8010272] | 614 |
|
---|
[be6cef1b] | 615 | % Strip binaries
|
---|
[fa9616b4] | 616 | ! CONFIG_STRIP_BINARIES (n/y)
|
---|
[be6cef1b] | 617 |
|
---|
[476ac3b] | 618 | % Strip revision information (helpful when comparing outputs)
|
---|
| 619 | ! CONFIG_STRIP_REVISION_INFO (n/y)
|
---|
| 620 |
|
---|
[2c52073] | 621 | % Optimization level
|
---|
| 622 | @ "3" Level 3 (recommended).
|
---|
| 623 | @ "2" Level 2.
|
---|
| 624 | @ "1" Level 1.
|
---|
| 625 | @ "0" Disable optimizations.
|
---|
| 626 | @ "s" Optimize for size.
|
---|
| 627 | @ "g" Enable only optimizations that don't harm debugging.
|
---|
| 628 | @ "fast" Level 3 + aggressive optimizations that can affect adherence to standards.
|
---|
| 629 | ! OPTIMIZATION (choice)
|
---|
[fa9616b4] | 630 |
|
---|
[3061bc1] | 631 | % Barebone build with essential binaries only
|
---|
[15b592b] | 632 | ! CONFIG_BAREBONE (n/y)
|
---|
[be6cef1b] | 633 |
|
---|
[9ded977] | 634 | % Line debugging information
|
---|
| 635 | ! [CONFIG_STRIP_BINARIES!=y] CONFIG_LINE_DEBUG (n/y)
|
---|
[42be09b] | 636 |
|
---|
[f4e508f] | 637 | # USB settings
|
---|
[f64e81a] | 638 |
|
---|
[960ff451] | 639 | % Start virtual USB host controller
|
---|
| 640 | ! CONFIG_RUN_VIRTUAL_USB_HC (n/y)
|
---|
| 641 |
|
---|
[b4f291d] | 642 | % OHCI root hub port power switching
|
---|
[ca2815e] | 643 | @ "no" All root hub ports are always powered.
|
---|
| 644 | @ "ganged" Root hub ports are all powered or all off.
|
---|
| 645 | @ "per_port" Powered status of every root hub port is independent.
|
---|
[b9bbaad] | 646 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ppc32] OHCI_POWER_SWITCH (choice)
|
---|
[83285fd] | 647 |
|
---|
| 648 | % GRUB boot loader architecture
|
---|
| 649 | @ "pc" GRUB for PC
|
---|
| 650 | @ "efi" GRUB for UEFI
|
---|
| 651 | ! [PLATFORM=ia32|PLATFORM=amd64] GRUB_ARCH (choice)
|
---|
[5711f6ec] | 652 |
|
---|
| 653 | % uImage OS type
|
---|
| 654 | @ "2" NetBSD stage 2 boot loader
|
---|
[e1530ec2] | 655 | ! [PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] UIMAGE_OS (choice)
|
---|
[5711f6ec] | 656 |
|
---|
| 657 | % uImage OS type
|
---|
| 658 | @ "5" Linux kernel
|
---|
[e1530ec2] | 659 | ! [PLATFORM=arm32&MACHINE!=beagleboardxm&MACHINE!=beaglebone] UIMAGE_OS (choice)
|
---|