Changeset 98a4e76 in mainline for HelenOS.config


Ignore:
Timestamp:
2009-02-12T20:12:51Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
54b2e74
Parents:
fa024ce
Message:

centralize configuration data
use a header file for passing most of the configuration directives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    rfa024ce r98a4e76  
    11#
    22# Copyright (c) 2006 Ondrej Palkovsky
     3# Copyright (c) 2009 Martin Decky
    34# All rights reserved.
    45#
     
    7576
    7677
     78## Mapping between platform and kernel architecture
     79
     80% Kernel architecture
     81@ "amd64"
     82! [PLATFORM=amd64] KARCH (choice)
     83
     84% Kernel architecture
     85@ "arm32"
     86! [PLATFORM=arm32] KARCH (choice)
     87
     88% Kernel architecture
     89@ "ia32"
     90! [PLATFORM=ia32] KARCH (choice)
     91
     92% Kernel architecture
     93@ "ia32xen"
     94! [PLATFORM=ia32xen] KARCH (choice)
     95
     96% Kernel architecture
     97@ "ia64"
     98! [PLATFORM=ia64] KARCH (choice)
     99
     100% Kernel architecture
     101@ "mips32"
     102! [PLATFORM=mips32] KARCH (choice)
     103
     104% Kernel architecture
     105@ "ppc32"
     106! [PLATFORM=ppc32] KARCH (choice)
     107
     108% Kernel architecture
     109@ "ppc64"
     110! [PLATFORM=ppc64] KARCH (choice)
     111
     112% Kernel architecture
     113@ "sparc64"
     114! [PLATFORM=sparc64] KARCH (choice)
     115
     116
     117## Mapping between platform and user space architecture
     118
     119% User space architecture
     120@ "amd64"
     121! [PLATFORM=amd64] UARCH (choice)
     122
     123% User space architecture
     124@ "arm32"
     125! [PLATFORM=arm32] UARCH (choice)
     126
     127% User space architecture
     128@ "ia32"
     129! [PLATFORM=ia32|PLATFORM=ia32xen] UARCH (choice)
     130
     131% User space architecture
     132@ "ia64"
     133! [PLATFORM=ia64] UARCH (choice)
     134
     135% User space architecture
     136@ "mips32"
     137! [PLATFORM=mips32&(MACHINE=msim|MACHINE=simics|MACHINE=lgxemul)] UARCH (choice)
     138
     139% User space architecture
     140@ "mips32eb"
     141! [PLATFORM=mips32&(MACHINE=bgxemul)] UARCH (choice)
     142
     143% User space architecture
     144@ "ppc32"
     145! [PLATFORM=ppc32] UARCH (choice)
     146
     147% User space architecture
     148@ "ppc64"
     149! [PLATFORM=ppc64] UARCH (choice)
     150
     151% User space architecture
     152@ "sparc64"
     153! [PLATFORM=sparc64] UARCH (choice)
     154
     155
     156## Mapping between platform and boot architecture
     157
     158% Boot architecture
     159@ "amd64"
     160! [PLATFORM=amd64] BARCH (choice)
     161
     162% Boot architecture
     163@ "arm32"
     164! [PLATFORM=arm32] BARCH (choice)
     165
     166% Boot architecture
     167@ "ia32"
     168! [PLATFORM=ia32] BARCH (choice)
     169
     170% Boot architecture
     171@ "ia32xen"
     172! [PLATFORM=ia32xen] BARCH (choice)
     173
     174% Boot architecture
     175@ "ia64"
     176! [PLATFORM=ia64] BARCH (choice)
     177
     178% Boot architecture
     179@ "mips32"
     180! [PLATFORM=mips32] BARCH (choice)
     181
     182% Boot architecture
     183@ "ppc32"
     184! [PLATFORM=ppc32] BARCH (choice)
     185
     186% Boot architecture
     187@ "ppc64"
     188! [PLATFORM=ppc64] BARCH (choice)
     189
     190% Boot architecture
     191@ "sparc64"
     192! [PLATFORM=sparc64] BARCH (choice)
     193
     194
     195## Mapping between platform and image format
     196
     197% Image format
     198@ "binary"
     199! [PLATFORM=mips32&MACHINE=msim] IMAGE (choice)
     200
     201% Image format
     202@ "ecoff"
     203! [PLATFORM=mips32&(MACHINE=simics|MACHINE=bgxemul|MACHINE=lgxemul)] IMAGE (choice)
     204
     205
    77206## Compiler options
    78207
     
    108237
    109238
     239## Kernel configuration
     240
     241% Fences
     242! [PLATFORM=ia32&(MACHINE=athlon-xp|MACHINE=athlon-mp|MACHINE=pentium3)] CONFIG_FENCES_P3 (y)
     243
     244% Fences
     245! [(PLATFORM=ia32&(MACHINE=pentium4|MACHINE=core))|PLATFORM=amd64] CONFIG_FENCES_P4 (y)
     246
     247% ACPI support
     248! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_ACPI (y)
     249
     250% Hierarchical page tables support
     251! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32] CONFIG_PAGE_PT (y)
     252
     253% Page hash table support
     254! [PLATFORM=ia64|PLATFORM=sparc64] CONFIG_PAGE_HT (y)
     255
     256% i8042 controller support
     257! [PLATFORM=ia32|PLATFORM=amd64|(PLATFORM=ia64&MACHINE=i460GX)] CONFIG_I8042 (y)
     258
     259% Sun keyboard support
     260! [PLATFORM=sparc64] CONFIG_SUN_KBD (y)
     261
     262% EGA support
     263! [PLATFORM=ia32|PLATFORM=amd64|(PLATFORM=ia64&MACHINE=i460GX)] CONFIG_EGA (y)
     264
     265% Software integer division support
     266! [PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32] CONFIG_SOFTINT (y)
     267
     268% ASID support
     269! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID (y)
     270
     271% ASID FIFO support
     272! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y)
     273
     274% OpenFirmware tree support
     275! [PLATFORM=sparc64] CONFIG_OFW_TREE (y)
     276
     277% FPU support
     278! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia64|PLATFORM=sparc64|(PLATFORM=mips32&(MACHINE=lgxemul|MACHINE=bgxemul))] CONFIG_FPU (y)
     279
     280
    110281## Kernel features options
    111282
    112283% Support for SMP
    113 ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64] CONFIG_SMP (y/n)
     284! [(PLATFORM=ia32&MACHINE!=athlon-xp)|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64] CONFIG_SMP (y/n)
    114285
    115286% Improved support for hyperthreading
    116 ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_SMP=y] CONFIG_HT (y/n)
     287! [((PLATFORM=ia32&MACHINE!=athlon-xp&MACHINE!=athlon-mp&MACHINE!=pentium3)|PLATFORM=amd64)&CONFIG_SMP=y] CONFIG_HT (y/n)
    117288
    118289% Simics BIOS AP boot fix
     
    120291
    121292% Lazy FPU context switching
    122 ! [(PLATFORM=mips32&MACHINE!=msim&MACHINE!=simics)|PLATFORM=amd64|PLATFORM=ia32|PLATFORM=ia64|PLATFORM=sparc64] CONFIG_FPU_LAZY (y/n)
     293! [CONFIG_FPU=y] CONFIG_FPU_LAZY (y/n)
    123294
    124295% Use VHPT
     
    134305! [PLATFORM=sparc64|(PLATFORM=ia64&MACHINE!=ski)] CONFIG_NS16550 (n/y)
    135306
     307% IOSapic on default address support
     308! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n)
     309
     310% Interrupt-driven driver for Legacy Keyboard
     311! [CONFIG_NS16550=n&CONFIG_IOSAPIC=y&MACHINE!=ski] CONFIG_I8042_INTERRUPT_DRIVEN (y/n)
     312
     313% Interrupt-driven driver for NS16550
     314! [CONFIG_NS16550=y&((PLATFORM!=ia64)|CONFIG_IOSAPIC=y)&MACHINE!=ski] CONFIG_NS16550_INTERRUPT_DRIVEN (y/n)
     315
    136316% Support for Serengeti console
    137317! [PLATFORM=sparc64] CONFIG_SGCN (y/n)
    138318
    139 % IOSapic on default address support
    140 ! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n)
    141 
    142 % Interrupt-driven driver for Legacy Keyboard
    143 ! [CONFIG_NS16550=n&CONFIG_IOSAPIC=y&MACHINE!=ski] CONFIG_I8042_INTERRUPT_DRIVEN (y/n)
    144 
    145 % Interrupt-driven driver for NS16550
    146 ! [CONFIG_NS16550=y&((PLATFORM!=ia64)|CONFIG_IOSAPIC=y)&MACHINE!=ski] CONFIG_NS16550_INTERRUPT_DRIVEN (y/n)
    147 
    148319% Virtually indexed D-cache support
    149320! [PLATFORM=sparc64] CONFIG_VIRT_IDX_DCACHE (y/n)
     
    175346% Framebuffer support
    176347! [(PLATFORM=mips32&MACHINE=lgxemul)|(PLATFORM=mips32&MACHINE=bgxemul)|(PLATFORM=ia32)|(PLATFORM=amd64)|(PLATFORM=arm32)|(PLATFORM=sparc64&MACHINE=us3)] CONFIG_FB (y/n)
     348
     349% Framebuffer support
     350! [PLATFORM=ppc32|(PLATFORM=sparc64&MACHINE=us)] CONFIG_FB (y)
    177351
    178352% Framebuffer width
Note: See TracChangeset for help on using the changeset viewer.