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