[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)
|
---|
[69dc065] | 300 | @ "icc" Intel C Compiler
|
---|
[795e2bf] | 301 | @ "gcc_native" GNU C Compiler (native)
|
---|
[a1d5167] | 302 | ! [PLATFORM=amd64|PLATFORM=ia32] COMPILER (choice)
|
---|
[7bb0c32] | 303 |
|
---|
[9a0367f] | 304 | % Compiler
|
---|
[69dc065] | 305 | @ "gcc_cross" GNU C Compiler (cross-compiler)
|
---|
[f3287e5] | 306 | @ "gcc_helenos" GNU C Compiler (experimental HelenOS-specific cross-compiler)
|
---|
[795e2bf] | 307 | @ "icc" Intel C Compiler
|
---|
| 308 | @ "gcc_native" GNU C Compiler (native)
|
---|
[a1d5167] | 309 | ! [PLATFORM=ia64] COMPILER (choice)
|
---|
[7bb0c32] | 310 |
|
---|
[9a0367f] | 311 | % Compiler
|
---|
[69dc065] | 312 | @ "gcc_cross" GNU C Compiler (cross-compiler)
|
---|
[f3287e5] | 313 | @ "gcc_helenos" GNU C Compiler (experimental HelenOS-specific cross-compiler)
|
---|
[795e2bf] | 314 | @ "gcc_native" GNU C Compiler (native)
|
---|
[d776329b] | 315 | ! [PLATFORM=riscv64] COMPILER (choice)
|
---|
[9a0367f] | 316 |
|
---|
[50fda24] | 317 | % Compiler
|
---|
[81983e3] | 318 | @ "gcc_cross" GNU C Compiler (cross-compiler)
|
---|
[50fda24] | 319 | @ "clang" Clang
|
---|
[795e2bf] | 320 | @ "gcc_helenos" GNU C Compiler (experimental HelenOS-specific cross-compiler)
|
---|
| 321 | @ "gcc_native" GNU C Compiler (native)
|
---|
| 322 | ! [PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc64] COMPILER (choice)
|
---|
[50fda24] | 323 |
|
---|
[9a0367f] | 324 |
|
---|
[81983e3] | 325 | ## Cross-compiler target for abstract architecture
|
---|
| 326 |
|
---|
| 327 | % Cross-compiler target
|
---|
| 328 | @ "arm32" ARM 32-bit
|
---|
| 329 | @ "ia32" Intel IA-32
|
---|
| 330 | @ "mips32" MIPS 32-bit
|
---|
[8f2eca0] | 331 | ! [PLATFORM=abs32le&(COMPILER=gcc_cross|COMPILER=gcc_helenos)] CROSS_TARGET (choice)
|
---|
[81983e3] | 332 |
|
---|
[9a0367f] | 333 |
|
---|
[98a4e76] | 334 | ## Kernel configuration
|
---|
| 335 |
|
---|
| 336 | % Fences
|
---|
[1c6b3a2] | 337 | ! [PLATFORM=ia32&(PROCESSOR=athlon_xp|PROCESSOR=athlon_mp|PROCESSOR=pentium3)] CONFIG_FENCES_P3 (y)
|
---|
[98a4e76] | 338 |
|
---|
| 339 | % Fences
|
---|
[1c6b3a2] | 340 | ! [PLATFORM=ia32&(PROCESSOR=pentium4|PROCESSOR=core)] CONFIG_FENCES_P4 (y)
|
---|
[30e2bba] | 341 |
|
---|
| 342 | % Fences
|
---|
| 343 | ! [PLATFORM=amd64] CONFIG_FENCES_P4 (y)
|
---|
[98a4e76] | 344 |
|
---|
[6eeb4a3] | 345 | % IOMAP bitmap support
|
---|
| 346 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_IOMAP_BITMAP (y)
|
---|
| 347 |
|
---|
| 348 | % IOMAP dummy support
|
---|
[d776329b] | 349 | ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_IOMAP_DUMMY (y)
|
---|
[6eeb4a3] | 350 |
|
---|
[98a4e76] | 351 | % ACPI support
|
---|
| 352 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_ACPI (y)
|
---|
| 353 |
|
---|
| 354 | % Hierarchical page tables support
|
---|
[d776329b] | 355 | ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64] CONFIG_PAGE_PT (y)
|
---|
[98a4e76] | 356 |
|
---|
| 357 | % Page hash table support
|
---|
[6c1c1f7] | 358 | ! [PLATFORM=ia64|PLATFORM=sparc64] CONFIG_PAGE_HT (y)
|
---|
[98a4e76] | 359 |
|
---|
| 360 | % Software integer division support
|
---|
[d776329b] | 361 | ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32] CONFIG_SOFTINT (y)
|
---|
[98a4e76] | 362 |
|
---|
| 363 | % ASID support
|
---|
[d776329b] | 364 | ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID (y)
|
---|
[98a4e76] | 365 |
|
---|
| 366 | % ASID FIFO support
|
---|
[d776329b] | 367 | ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y)
|
---|
[98a4e76] | 368 |
|
---|
| 369 | % OpenFirmware tree support
|
---|
[e731b0d] | 370 | ! [PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_OFW_TREE (y)
|
---|
| 371 |
|
---|
| 372 | % OpenFirmware PCI bus support
|
---|
| 373 | ! [PLATFORM=sparc64] CONFIG_OFW_PCI (y)
|
---|
[98a4e76] | 374 |
|
---|
[5d8d71e] | 375 | % Multiboot standard support
|
---|
| 376 | ! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_MULTIBOOT (y)
|
---|
| 377 |
|
---|
[98a4e76] | 378 | % FPU support
|
---|
[30730e5] | 379 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia64|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_FPU (y)
|
---|
[df7f5cea] | 380 |
|
---|
[d9be488] | 381 | ## ARMv7 made FPU hardware compulsory
|
---|
[22a0ee8] | 382 | % FPU support
|
---|
[5d9e36b] | 383 | ! [PLATFORM=arm32&PROCESSOR_ARCH=armv7_a] CONFIG_FPU (y)
|
---|
[22a0ee8] | 384 |
|
---|
[d238aa9] | 385 | % FPU support
|
---|
| 386 | ! [PLATFORM=arm32&MACHINE=integratorcp] CONFIG_FPU (y)
|
---|
[22a0ee8] | 387 |
|
---|
[98a4e76] | 388 |
|
---|
[9a0367f] | 389 | ## Kernel features options
|
---|
| 390 |
|
---|
| 391 | % Support for SMP
|
---|
[6c1c1f7] | 392 | ! [(PLATFORM=ia32&PROCESSOR!=athlon_xp)|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64|(PLATFORM=mips32&MACHINE=msim)|PLATFORM=abs32le] CONFIG_SMP (y/n)
|
---|
[9a0367f] | 393 |
|
---|
[04d672c3] | 394 | % Debug build
|
---|
| 395 | ! CONFIG_DEBUG (y/n)
|
---|
| 396 |
|
---|
| 397 | % Deadlock detection support for spinlocks
|
---|
| 398 | ! [CONFIG_DEBUG=y&CONFIG_SMP=y] CONFIG_DEBUG_SPINLOCK (y/n)
|
---|
| 399 |
|
---|
[9a0367f] | 400 | % Lazy FPU context switching
|
---|
[957ce9a5] | 401 | ! [CONFIG_FPU=y] CONFIG_FPU_LAZY (y/n)
|
---|
[9a0367f] | 402 |
|
---|
| 403 | % Use VHPT
|
---|
[a1d5167] | 404 | ! [PLATFORM=ia64] CONFIG_VHPT (n/y)
|
---|
[9a0367f] | 405 |
|
---|
| 406 | % Use TSB
|
---|
[a1d5167] | 407 | ! [PLATFORM=sparc64] CONFIG_TSB (y/n)
|
---|
[1c6b3a2] | 408 |
|
---|
| 409 | % IO SAPIC on default address support
|
---|
[a1d5167] | 410 | ! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n)
|
---|
[1c6b3a2] | 411 |
|
---|
| 412 | % Virtually indexed D-cache support
|
---|
[a1d5167] | 413 | ! [PLATFORM=sparc64] CONFIG_VIRT_IDX_DCACHE (y/n)
|
---|
[1c6b3a2] | 414 |
|
---|
[95c4776] | 415 | % Simics SMP Hack
|
---|
[626f907] | 416 | ! [PROCESSOR=sun4v&CONFIG_SMP=y] CONFIG_SIMICS_SMP_HACK (n/y)
|
---|
[95c4776] | 417 |
|
---|
[1c6b3a2] | 418 | % Support for userspace debuggers
|
---|
[a1d5167] | 419 | ! CONFIG_UDEBUG (y/n)
|
---|
[1c6b3a2] | 420 |
|
---|
| 421 | % Kernel console support
|
---|
[a1d5167] | 422 | ! CONFIG_KCONSOLE (y/n)
|
---|
[1c6b3a2] | 423 |
|
---|
[e2b762ec] | 424 | % Kernel symbol information
|
---|
| 425 | ! CONFIG_SYMTAB (y/n)
|
---|
| 426 |
|
---|
[1c6b3a2] | 427 | % Detailed kernel logging
|
---|
[a1d5167] | 428 | ! CONFIG_LOG (n/y)
|
---|
[1c6b3a2] | 429 |
|
---|
[ad8f03d2] | 430 | % Kernel function tracing
|
---|
| 431 | ! CONFIG_TRACE (n/y)
|
---|
| 432 |
|
---|
[1c6b3a2] | 433 | % Compile kernel tests
|
---|
[a1d5167] | 434 | ! CONFIG_TEST (y/n)
|
---|
[1c6b3a2] | 435 |
|
---|
[cf84f1bf] | 436 | % Use link-time optimization
|
---|
| 437 | ! [COMPILER=gcc_cross|COMPILER=gcc_native] CONFIG_LTO (n/y)
|
---|
| 438 |
|
---|
[d4d36f9] | 439 | % Kernel RCU algorithm
|
---|
| 440 | @ "PREEMPT_PODZIMEK" Preemptible Podzimek-RCU
|
---|
| 441 | @ "PREEMPT_A" Preemptible A-RCU
|
---|
| 442 | ! RCU (choice)
|
---|
| 443 |
|
---|
[04d672c3] | 444 |
|
---|
[b7acf38] | 445 | ## User space features options
|
---|
| 446 |
|
---|
| 447 | % Light weight futex locks
|
---|
| 448 | ! FUTEX_UPGRADABLE (n/y)
|
---|
| 449 |
|
---|
[04d672c3] | 450 |
|
---|
[1c6b3a2] | 451 | ## Hardware support
|
---|
[9a0367f] | 452 |
|
---|
[6ac14a70] | 453 | % Input device class
|
---|
| 454 | @ "generic" Keyboard or serial line
|
---|
| 455 | ! [PLATFORM=arm32&MACHINE=integratorcp] CONFIG_HID_IN (choice)
|
---|
| 456 |
|
---|
[4d29d01] | 457 | % Input device class
|
---|
[71385d4f] | 458 | @ "generic" Keyboard or serial line
|
---|
| 459 | @ "none" No input device
|
---|
[7a67416] | 460 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64|PLATFORM=sparc64] CONFIG_HID_IN (choice)
|
---|
[04d672c3] | 461 |
|
---|
[449d4ecc] | 462 | % Input device class
|
---|
| 463 | @ "generic" Keyboard or serial line
|
---|
| 464 | @ "keyboard" Keyboard
|
---|
| 465 | @ "serial" Serial line
|
---|
| 466 | @ "none" No input device
|
---|
| 467 | ! [PLATFORM=ia64&MACHINE=i460GX] CONFIG_HID_IN (choice)
|
---|
| 468 |
|
---|
[6ac14a70] | 469 | % Output device class
|
---|
| 470 | @ "generic" Monitor or serial line
|
---|
[8f9d70b] | 471 | ! [PLATFORM=arm32&(MACHINE=gta02|MACHINE=integratorcp|MACHINE=beagleboardxm|MACHINE=beaglebone|MACHINE=raspberrypi)] CONFIG_HID_OUT (choice)
|
---|
[6ac14a70] | 472 |
|
---|
[8de4421] | 473 | % Output device class
|
---|
| 474 | @ "generic" Monitor or serial line
|
---|
| 475 | @ "none" No output device
|
---|
[7a67416] | 476 | ! [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] | 477 |
|
---|
[8de4421] | 478 | % PC keyboard support
|
---|
[24b06199] | 479 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_PC_KBD (y/n)
|
---|
[1c6b3a2] | 480 |
|
---|
[449d4ecc] | 481 | % PC keyboard support
|
---|
| 482 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_PC_KBD (y/n)
|
---|
| 483 |
|
---|
[c0d77f7] | 484 | % PC keyboard support
|
---|
[5012203] | 485 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=arm32&MACHINE=integratorcp] CONFIG_AT_KBD (y/n)
|
---|
[c0d77f7] | 486 |
|
---|
[232cd4f] | 487 | % Support for msim keyboard
|
---|
[3c50cddc] | 488 | ! [CONFIG_HID_IN=generic&MACHINE=msim] CONFIG_MSIM_KBD (y/n)
|
---|
[8de4421] | 489 |
|
---|
[232cd4f] | 490 | % Support for msim printer
|
---|
[3c50cddc] | 491 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&MACHINE=msim] CONFIG_MSIM_PRN (y/n)
|
---|
[04d672c3] | 492 |
|
---|
[d6d04e7] | 493 | % Support for VIA CUDA controller
|
---|
| 494 | ! [CONFIG_HID_IN=generic&PLATFORM=ppc32] CONFIG_VIA_CUDA (y/n)
|
---|
| 495 |
|
---|
[9693835] | 496 | % Support for NS16550 controller
|
---|
[03976d60] | 497 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic] CONFIG_NS16550 (y/n)
|
---|
[9693835] | 498 |
|
---|
[449d4ecc] | 499 | % Support for NS16550 controller
|
---|
| 500 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_NS16550 (y/n)
|
---|
| 501 |
|
---|
[c882505] | 502 | % Support for PL011 UART
|
---|
| 503 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=integratorcp|MACHINE=raspberrypi)] CONFIG_PL011_UART (y/n)
|
---|
[8ec4144] | 504 |
|
---|
[24b06199] | 505 | % Support for NS16550 controller (kernel console)
|
---|
[6d7d4f1] | 506 | ! [(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] | 507 |
|
---|
| 508 | % Use NS16550 controller as serial input (kernel console)
|
---|
| 509 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial)&(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_NS16550_KCON=y] CONFIG_NS16550 (y)
|
---|
| 510 |
|
---|
| 511 | % Use NS16550 controller as dummy serial output (kernel console)
|
---|
[6bbe470] | 512 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_NS16550_KCON=y] CONFIG_NS16550_OUT (y)
|
---|
[3296df5] | 513 |
|
---|
[f1fc83a] | 514 | % Support for Samsung S3C24XX on-chip UART
|
---|
| 515 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&MACHINE=gta02] CONFIG_S3C24XX_UART (y/n)
|
---|
| 516 |
|
---|
[ec08286] | 517 | % Support for Samsung S3C24XX on-chip interrupt controller
|
---|
| 518 | ! [PLATFORM=arm32&MACHINE=gta02] CONFIG_S3C24XX_IRQC (y)
|
---|
| 519 |
|
---|
[6f07226] | 520 | % Support for TI AM335x timers support
|
---|
| 521 | ! [PLATFORM=arm32&MACHINE=beaglebone] CONFIG_AM335X_TIMERS (y)
|
---|
| 522 |
|
---|
[7ca8422b] | 523 | % Support for OMAP on-chip UART
|
---|
| 524 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] CONFIG_OMAP_UART (y/n)
|
---|
[d2707fc] | 525 |
|
---|
[44b2b78] | 526 | % Support for BCM2835 mailbox
|
---|
| 527 | ! [PLATFORM=arm32&MACHINE=raspberrypi] CONFIG_BCM2835_MAILBOX (y/n)
|
---|
| 528 |
|
---|
[87bedd1c] | 529 | % Support for i8042 controller
|
---|
[8de4421] | 530 | ! [CONFIG_PC_KBD=y] CONFIG_I8042 (y)
|
---|
[9a0367f] | 531 |
|
---|
[87bedd1c] | 532 | % Support for pl050 controller
|
---|
[6ac14a70] | 533 | ! [CONFIG_HID_IN=generic&PLATFORM=arm32&MACHINE=integratorcp] CONFIG_PL050 (y)
|
---|
| 534 |
|
---|
[9693835] | 535 | % Sun keyboard support
|
---|
[336d2f52] | 536 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic&CONFIG_NS16550=y] CONFIG_SUN_KBD (y)
|
---|
[9693835] | 537 |
|
---|
[2a77841d] | 538 | % Macintosh ADB keyboard support
|
---|
| 539 | ! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=ppc32&(CONFIG_VIA_CUDA=y)] CONFIG_MAC_KBD (y)
|
---|
| 540 |
|
---|
[8de4421] | 541 | % Dummy serial line input
|
---|
[3c50cddc] | 542 | ! [CONFIG_MSIM_KBD=y|CONFIG_ARM_KBD=y] CONFIG_DSRLNIN (y)
|
---|
[9a0367f] | 543 |
|
---|
[8de4421] | 544 | % Dummy serial line output
|
---|
[3c50cddc] | 545 | ! [CONFIG_MSIM_PRN=y|CONFIG_ARM_PRN=y] CONFIG_DSRLNOUT (y)
|
---|
[411b6a6] | 546 |
|
---|
[8de4421] | 547 | % Serial line input module
|
---|
[d776329b] | 548 | ! [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] | 549 |
|
---|
[1c6b3a2] | 550 | % EGA support
|
---|
[8de4421] | 551 | ! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_EGA (y/n)
|
---|
| 552 |
|
---|
[449d4ecc] | 553 | % EGA support
|
---|
| 554 | ! [CONFIG_HID_OUT=generic&PLATFORM=ia64&MACHINE=i460GX] CONFIG_EGA (y/n)
|
---|
[8de4421] | 555 |
|
---|
| 556 | % Framebuffer support
|
---|
[d0688a3] | 557 | ! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ppc32)] CONFIG_FB (y/n)
|
---|
[8de4421] | 558 |
|
---|
[00287cc] | 559 | % Framebuffer support
|
---|
[03976d60] | 560 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=arm32] CONFIG_FB (y/n)
|
---|
| 561 |
|
---|
| 562 | % Framebuffer support
|
---|
| 563 | ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=sparc64&MACHINE=generic] CONFIG_FB (y/n)
|
---|
[98a4e76] | 564 |
|
---|
[421c833] | 565 | % Default framebuffer mode
|
---|
| 566 | @ "640x480"
|
---|
| 567 | @ "800x600"
|
---|
| 568 | @ "1024x768"
|
---|
| 569 | @ "1152x720"
|
---|
| 570 | @ "1152x864"
|
---|
[46757a6] | 571 | @ "1280x720"
|
---|
| 572 | @ "1280x800"
|
---|
[421c833] | 573 | @ "1280x960"
|
---|
| 574 | @ "1280x1024"
|
---|
| 575 | @ "1400x1050"
|
---|
| 576 | @ "1440x900"
|
---|
| 577 | @ "1440x1050"
|
---|
| 578 | @ "1600x1200"
|
---|
| 579 | @ "1920x1080"
|
---|
| 580 | @ "1920x1200"
|
---|
[ee685630] | 581 | ! [(PLATFORM=ia32|PLATFORM=amd64|MACHINE=beagleboardxm)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_BFB_MODE (choice)
|
---|
[421c833] | 582 |
|
---|
| 583 | % Default framebuffer depth
|
---|
[9a0367f] | 584 | @ "8"
|
---|
| 585 | @ "16"
|
---|
| 586 | @ "24"
|
---|
[c7b9c5d6] | 587 | @ "32"
|
---|
[ee685630] | 588 | ! [(PLATFORM=ia32|PLATFORM=amd64|MACHINE=beagleboardxm)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_BFB_BPP (choice)
|
---|
[9a0367f] | 589 |
|
---|
| 590 | % Start AP processors by the loader
|
---|
[a1d5167] | 591 | ! [PLATFORM=sparc64&CONFIG_SMP=y] CONFIG_AP (y/n)
|
---|
[9a0367f] | 592 |
|
---|
[7fb3f1c] | 593 | % Dynamic linking support
|
---|
| 594 | ! [PLATFORM=ia32] CONFIG_RTLD (n/y)
|
---|
[7a67416] | 595 | ! [PLATFORM=abs32le|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=riscv64|PLATFORM=sparc64] CONFIG_RTLD (n)
|
---|
[7fb3f1c] | 596 |
|
---|
[ec3e2ed] | 597 | % Build shared libraries
|
---|
[7fb3f1c] | 598 | ! [CONFIG_RTLD=y] CONFIG_BUILD_SHARED_LIBS (n/y)
|
---|
| 599 | ! [CONFIG_RTLD=n] CONFIG_BUILD_SHARED_LIBS (n)
|
---|
[1ea99cc] | 600 |
|
---|
[ec3e2ed] | 601 | % Link against shared libraries
|
---|
| 602 | ! [CONFIG_BUILD_SHARED_LIBS=y] CONFIG_USE_SHARED_LIBS (n/y)
|
---|
| 603 | ! [CONFIG_BUILD_SHARED_LIBS=n] CONFIG_USE_SHARED_LIBS (n)
|
---|
[1ea99cc] | 604 |
|
---|
[3acb285a] | 605 | % Launch (devman) test drivers
|
---|
[774fc85] | 606 | ! [CONFIG_DEBUG=y] CONFIG_TEST_DRIVERS (n/y)
|
---|
[3acb285a] | 607 |
|
---|
[dafa2d04] | 608 | % Write core files
|
---|
| 609 | ! CONFIG_WRITE_CORE_FILES (n/y)
|
---|
[827d73f] | 610 |
|
---|
[865b981] | 611 | % Include userspace unit tests (PCUT)
|
---|
[01579ad] | 612 | ! CONFIG_PCUT_TESTS (n/y)
|
---|
| 613 |
|
---|
[824208bf] | 614 | % Include PCUT self-tests
|
---|
| 615 | ! CONFIG_PCUT_SELF_TESTS (n/y)
|
---|
| 616 |
|
---|
[a8010272] | 617 | % Include development files (headers, libraries)
|
---|
[d21e935c] | 618 | ! CONFIG_DEVEL_FILES (n/y)
|
---|
[a8010272] | 619 |
|
---|
[be6cef1b] | 620 | % Strip binaries
|
---|
[fa9616b4] | 621 | ! CONFIG_STRIP_BINARIES (n/y)
|
---|
[be6cef1b] | 622 |
|
---|
| 623 | % Optimize for size
|
---|
[fa9616b4] | 624 | ! CONFIG_OPTIMIZE_FOR_SIZE (n/y)
|
---|
| 625 |
|
---|
[15b592b] | 626 | % Barebone build with essential binaries only
|
---|
| 627 | ! CONFIG_BAREBONE (n/y)
|
---|
[be6cef1b] | 628 |
|
---|
[9ded977] | 629 | % Line debugging information
|
---|
| 630 | ! [CONFIG_STRIP_BINARIES!=y] CONFIG_LINE_DEBUG (n/y)
|
---|
[42be09b] | 631 |
|
---|
[f4e508f] | 632 | # USB settings
|
---|
[f64e81a] | 633 |
|
---|
[960ff451] | 634 | % Start virtual USB host controller
|
---|
| 635 | ! CONFIG_RUN_VIRTUAL_USB_HC (n/y)
|
---|
| 636 |
|
---|
[b4f291d] | 637 | % OHCI root hub port power switching
|
---|
[ca2815e] | 638 | @ "no" All root hub ports are always powered.
|
---|
| 639 | @ "ganged" Root hub ports are all powered or all off.
|
---|
| 640 | @ "per_port" Powered status of every root hub port is independent.
|
---|
[b9bbaad] | 641 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ppc32] OHCI_POWER_SWITCH (choice)
|
---|
[83285fd] | 642 |
|
---|
| 643 | % GRUB boot loader architecture
|
---|
| 644 | @ "pc" GRUB for PC
|
---|
| 645 | @ "efi" GRUB for UEFI
|
---|
| 646 | ! [PLATFORM=ia32|PLATFORM=amd64] GRUB_ARCH (choice)
|
---|
[5711f6ec] | 647 |
|
---|
| 648 | % uImage OS type
|
---|
| 649 | @ "2" NetBSD stage 2 boot loader
|
---|
[e1530ec2] | 650 | ! [PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] UIMAGE_OS (choice)
|
---|
[5711f6ec] | 651 |
|
---|
| 652 | % uImage OS type
|
---|
| 653 | @ "5" Linux kernel
|
---|
[e1530ec2] | 654 | ! [PLATFORM=arm32&MACHINE!=beagleboardxm&MACHINE!=beaglebone] UIMAGE_OS (choice)
|
---|