Rev 3822 | Rev 3873 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3822 | Rev 3865 | ||
---|---|---|---|
1 | # |
1 | # |
2 | # Copyright (c) 2006 Ondrej Palkovsky |
2 | # Copyright (c) 2006 Ondrej Palkovsky |
3 | # All rights reserved. |
3 | # All rights reserved. |
4 | # |
4 | # |
5 | # Redistribution and use in source and binary forms, with or without |
5 | # Redistribution and use in source and binary forms, with or without |
6 | # modification, are permitted provided that the following conditions |
6 | # modification, are permitted provided that the following conditions |
7 | # are met: |
7 | # are met: |
8 | # |
8 | # |
9 | # - Redistributions of source code must retain the above copyright |
9 | # - Redistributions of source code must retain the above copyright |
10 | # notice, this list of conditions and the following disclaimer. |
10 | # notice, this list of conditions and the following disclaimer. |
11 | # - Redistributions in binary form must reproduce the above copyright |
11 | # - Redistributions in binary form must reproduce the above copyright |
12 | # notice, this list of conditions and the following disclaimer in the |
12 | # notice, this list of conditions and the following disclaimer in the |
13 | # documentation and/or other materials provided with the distribution. |
13 | # documentation and/or other materials provided with the distribution. |
14 | # - The name of the author may not be used to endorse or promote products |
14 | # - The name of the author may not be used to endorse or promote products |
15 | # derived from this software without specific prior written permission. |
15 | # derived from this software without specific prior written permission. |
16 | # |
16 | # |
17 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
17 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
18 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
18 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
19 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
19 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
20 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
20 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
21 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
21 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
22 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
22 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
23 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
23 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
29 | 29 | ||
30 | ## General platform options |
30 | ## General platform options |
31 | 31 | ||
32 | % Platform |
32 | % Platform |
33 | @ "amd64" AMD64/Intel EM64T (PC) |
33 | @ "amd64" AMD64/Intel EM64T (PC) |
34 | @ "arm32" ARM 32-bit |
34 | @ "arm32" ARM 32-bit |
35 | @ "ia32" Intel IA-32 (PC) |
35 | @ "ia32" Intel IA-32 (PC) |
36 | @ "ia32xen" Intel IA-32 on Xen hypervisor |
36 | @ "ia32xen" Intel IA-32 on Xen hypervisor |
37 | @ "ia64" Intel IA-64 |
37 | @ "ia64" Intel IA-64 |
38 | @ "mips32" MIPS 32-bit |
38 | @ "mips32" MIPS 32-bit |
39 | @ "ppc32" PowerPC 32-bit (iMac G4) |
39 | @ "ppc32" PowerPC 32-bit (iMac G4) |
40 | @ "ppc64" PowerPC 64-bit (iMac G5) |
40 | @ "ppc64" PowerPC 64-bit (iMac G5) |
41 | @ "sparc64" Sun UltraSPARC 64-bit |
41 | @ "sparc64" Sun UltraSPARC 64-bit |
42 | ! PLATFORM (choice) |
42 | ! PLATFORM (choice) |
43 | 43 | ||
44 | % Machine type |
44 | % Machine type |
45 | @ "msim" MSIM |
45 | @ "msim" MSIM |
46 | @ "simics" Simics |
46 | @ "simics" Simics |
47 | @ "bgxemul" GXEmul big endian |
47 | @ "bgxemul" GXEmul big endian |
48 | @ "lgxemul" GXEmul little endian |
48 | @ "lgxemul" GXEmul little endian |
49 | ! [PLATFORM=mips32] MACHINE (choice) |
49 | ! [PLATFORM=mips32] MACHINE (choice) |
50 | 50 | ||
51 | % Machine type |
51 | % Machine type |
52 | @ "i460GX" i460GX chipset machine |
52 | @ "i460GX" i460GX chipset machine |
53 | @ "ski" Ski ia64 simulator |
53 | @ "ski" Ski ia64 simulator |
54 | ! [PLATFORM=ia64] MACHINE (choice) |
54 | ! [PLATFORM=ia64] MACHINE (choice) |
55 | 55 | ||
56 | % CPU type |
56 | % CPU type |
57 | @ "pentium4" Pentium 4 |
57 | @ "pentium4" Pentium 4 |
58 | @ "pentium3" Pentium 3 |
58 | @ "pentium3" Pentium 3 |
59 | @ "core" Core Solo/Duo |
59 | @ "core" Core Solo/Duo |
60 | @ "athlon-xp" Athlon XP |
60 | @ "athlon-xp" Athlon XP |
61 | @ "athlon-mp" Athlon MP |
61 | @ "athlon-mp" Athlon MP |
62 | ! [PLATFORM=ia32|PLATFORM=ia32xen] MACHINE (choice) |
62 | ! [PLATFORM=ia32|PLATFORM=ia32xen] MACHINE (choice) |
63 | 63 | ||
64 | % CPU type |
64 | % CPU type |
65 | @ "opteron" Opteron |
65 | @ "opteron" Opteron |
66 | ! [PLATFORM=amd64] MACHINE (choice) |
66 | ! [PLATFORM=amd64] MACHINE (choice) |
67 | 67 | ||
68 | % CPU type |
68 | % CPU type |
69 | @ "us" UltraSPARC I-II subarchitecture |
69 | @ "us" UltraSPARC I-II subarchitecture |
70 | @ "us3" UltraSPARC III-IV subarchitecture |
70 | @ "us3" UltraSPARC III-IV subarchitecture |
71 | ! [PLATFORM=sparc64] MACHINE (choice) |
71 | ! [PLATFORM=sparc64] MACHINE (choice) |
72 | 72 | ||
73 | % Ramdisk format |
73 | % Ramdisk format |
74 | @ "tmpfs" TMPFS image |
74 | @ "tmpfs" TMPFS image |
75 | @ "fat" FAT16 image |
75 | @ "fat" FAT16 image |
76 | ! RDFMT (choice) |
76 | ! RDFMT (choice) |
77 | 77 | ||
78 | 78 | ||
79 | ## Compiler options |
79 | ## Compiler options |
80 | 80 | ||
81 | % Compiler |
81 | % Compiler |
82 | @ "gcc_cross" GCC Cross-compiler |
82 | @ "gcc_cross" GCC Cross-compiler |
83 | @ "gcc_native" GCC Native |
83 | @ "gcc_native" GCC Native |
84 | @ "icc_native" ICC Native |
84 | @ "icc_native" ICC Native |
85 | @ "suncc_native" Sun Studio C Compiler |
85 | @ "suncc_native" Sun Studio C Compiler |
86 | ! [PLATFORM=amd64|PLATFORM=ia32|PLATFORM=ia32xen] COMPILER (choice) |
86 | ! [PLATFORM=amd64|PLATFORM=ia32|PLATFORM=ia32xen] COMPILER (choice) |
87 | 87 | ||
88 | % Compiler |
88 | % Compiler |
89 | @ "gcc_cross" GCC Cross-compiler |
89 | @ "gcc_cross" GCC Cross-compiler |
90 | @ "gcc_native" GCC Native |
90 | @ "gcc_native" GCC Native |
91 | @ "icc_native" ICC Native |
91 | @ "icc_native" ICC Native |
92 | ! [PLATFORM=ia64] COMPILER (choice) |
92 | ! [PLATFORM=ia64] COMPILER (choice) |
93 | 93 | ||
94 | % Compiler |
94 | % Compiler |
95 | @ "gcc_cross" GCC Cross-compiler |
95 | @ "gcc_cross" GCC Cross-compiler |
96 | @ "gcc_native" GCC Native |
96 | @ "gcc_native" GCC Native |
97 | @ "suncc_native" Sun Studio C Compiler |
97 | @ "suncc_native" Sun Studio C Compiler |
98 | ! [PLATFORM=sparc64] COMPILER (choice) |
98 | ! [PLATFORM=sparc64] COMPILER (choice) |
99 | 99 | ||
100 | % Compiler |
100 | % Compiler |
101 | @ "gcc_cross" GCC Cross-compiler |
101 | @ "gcc_cross" GCC Cross-compiler |
102 | @ "gcc_native" GCC Native |
102 | @ "gcc_native" GCC Native |
103 | ! [PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=ppc64] COMPILER (choice) |
103 | ! [PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=ppc64] COMPILER (choice) |
104 | 104 | ||
105 | 105 | ||
106 | ## Debug build options |
106 | ## Debug build options |
107 | 107 | ||
108 | % Debug build |
108 | % Debug build |
109 | ! CONFIG_DEBUG (y/n) |
109 | ! CONFIG_DEBUG (y/n) |
110 | 110 | ||
111 | 111 | ||
112 | ## Kernel features options |
112 | ## Kernel features options |
113 | 113 | ||
114 | % Support for SMP |
114 | % Support for SMP |
115 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia32xen|PLATFORM=sparc64|PLATFORM=ia64] CONFIG_SMP (y/n) |
115 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia32xen|PLATFORM=sparc64|PLATFORM=ia64] CONFIG_SMP (y/n) |
116 | 116 | ||
117 | % Improved support for hyperthreading |
117 | % Improved support for hyperthreading |
118 | ! [(PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia32xen)&CONFIG_SMP=y] CONFIG_HT (y/n) |
118 | ! [(PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia32xen)&CONFIG_SMP=y] CONFIG_HT (y/n) |
119 | 119 | ||
120 | % Simics BIOS AP boot fix |
120 | % Simics BIOS AP boot fix |
121 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_SMP=y] CONFIG_SIMICS_FIX (y/n) |
121 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_SMP=y] CONFIG_SIMICS_FIX (y/n) |
122 | 122 | ||
123 | % Lazy FPU context switching |
123 | % Lazy FPU context switching |
124 | ! [(PLATFORM=mips32&MACHINE!=msim&MACHINE!=simics)|PLATFORM=amd64|PLATFORM=ia32|PLATFORM=ia64|PLATFORM=sparc64|PLATFORM=ia32xen] CONFIG_FPU_LAZY (y/n) |
124 | ! [(PLATFORM=mips32&MACHINE!=msim&MACHINE!=simics)|PLATFORM=amd64|PLATFORM=ia32|PLATFORM=ia64|PLATFORM=sparc64|PLATFORM=ia32xen] CONFIG_FPU_LAZY (y/n) |
125 | 125 | ||
126 | % Use VHPT |
126 | % Use VHPT |
127 | ! [PLATFORM=ia64] CONFIG_VHPT (n/y) |
127 | ! [PLATFORM=ia64] CONFIG_VHPT (n/y) |
128 | 128 | ||
129 | % Use TSB |
129 | % Use TSB |
130 | ! [PLATFORM=sparc64] CONFIG_TSB (y/n) |
130 | ! [PLATFORM=sparc64] CONFIG_TSB (y/n) |
131 | 131 | ||
132 | % Support for Z8530 serial port |
132 | % Support for Z8530 serial port |
133 | ! [PLATFORM=sparc64] CONFIG_Z8530 (y/n) |
133 | ! [PLATFORM=sparc64] CONFIG_Z8530 (y/n) |
134 | 134 | ||
135 | % Support for NS16550 serial port |
135 | % Support for NS16550 serial port |
136 | ! [PLATFORM=sparc64|(PLATFORM=ia64&MACHINE!=ski)] CONFIG_NS16550 (n/y) |
136 | ! [PLATFORM=sparc64|(PLATFORM=ia64&MACHINE!=ski)] CONFIG_NS16550 (n/y) |
137 | 137 | ||
138 | % Support for Serengeti console |
138 | % Support for Serengeti console |
139 | ! [PLATFORM=sparc64] CONFIG_SGCN (y/n) |
139 | ! [PLATFORM=sparc64] CONFIG_SGCN (y/n) |
140 | 140 | ||
141 | % IOSapic on default address support |
141 | % IOSapic on default address support |
142 | ! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n) |
142 | ! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n) |
143 | 143 | ||
144 | % Interrupt-driven driver for Legacy Keyboard |
144 | % Interrupt-driven driver for Legacy Keyboard |
145 | ! [CONFIG_NS16550=n&CONFIG_IOSAPIC=y&MACHINE!=ski] CONFIG_I8042_INTERRUPT_DRIVEN (y/n) |
145 | ! [CONFIG_NS16550=n&CONFIG_IOSAPIC=y&MACHINE!=ski] CONFIG_I8042_INTERRUPT_DRIVEN (y/n) |
146 | 146 | ||
147 | % Interrupt-driven driver for NS16550 |
147 | % Interrupt-driven driver for NS16550 |
148 | ! [CONFIG_NS16550=y&((PLATFORM!=ia64)|CONFIG_IOSAPIC=y)&MACHINE!=ski] CONFIG_NS16550_INTERRUPT_DRIVEN (y/n) |
148 | ! [CONFIG_NS16550=y&((PLATFORM!=ia64)|CONFIG_IOSAPIC=y)&MACHINE!=ski] CONFIG_NS16550_INTERRUPT_DRIVEN (y/n) |
149 | 149 | ||
150 | % Virtually indexed D-cache support |
150 | % Virtually indexed D-cache support |
151 | ! [PLATFORM=sparc64] CONFIG_VIRT_IDX_DCACHE (y/n) |
151 | ! [PLATFORM=sparc64] CONFIG_VIRT_IDX_DCACHE (y/n) |
152 | 152 | ||
153 | % Support for userspace debuggers |
153 | % Support for userspace debuggers |
154 | ! CONFIG_UDEBUG (n/y) |
154 | ! CONFIG_UDEBUG (n/y) |
155 | 155 | ||
156 | % Kernel console support |
156 | % Kernel console support |
157 | ! CONFIG_KCONSOLE (y/n) |
157 | ! CONFIG_KCONSOLE (y/n) |
158 | 158 | ||
159 | % Detailed kernel logging |
159 | % Detailed kernel logging |
160 | ! CONFIG_LOG (n/y) |
160 | ! CONFIG_LOG (n/y) |
161 | 161 | ||
162 | % Deadlock detection support for spinlocks |
162 | % Deadlock detection support for spinlocks |
163 | ! [CONFIG_DEBUG=y&CONFIG_SMP=y] CONFIG_DEBUG_SPINLOCK (y/n) |
163 | ! [CONFIG_DEBUG=y&CONFIG_SMP=y] CONFIG_DEBUG_SPINLOCK (y/n) |
164 | 164 | ||
165 | % Watchpoint on rewriting AS with zero |
165 | % Watchpoint on rewriting AS with zero |
166 | ! [CONFIG_DEBUG=y&(PLATFORM=amd64|PLATFORM=ia32|PLATFORM=ia32xen)] CONFIG_DEBUG_AS_WATCHPOINT (y/n) |
166 | ! [CONFIG_DEBUG=y&(PLATFORM=amd64|PLATFORM=ia32|PLATFORM=ia32xen)] CONFIG_DEBUG_AS_WATCHPOINT (y/n) |
167 | 167 | ||
168 | % Save all interrupt registers |
168 | % Save all interrupt registers |
169 | ! [CONFIG_DEBUG=y&(PLATFORM=amd64|PLATFORM=mips32|PLATFORM=ia32|PLATFORM=ia32xen)] CONFIG_DEBUG_ALLREGS (y/n) |
169 | ! [CONFIG_DEBUG=y&(PLATFORM=amd64|PLATFORM=mips32|PLATFORM=ia32|PLATFORM=ia32xen)] CONFIG_DEBUG_ALLREGS (y/n) |
170 | 170 | ||
171 | % Compile kernel tests |
171 | % Compile kernel tests |
172 | ! CONFIG_TEST (y/n) |
172 | ! CONFIG_TEST (y/n) |
173 | 173 | ||
174 | 174 | ||
175 | ## Hardware support |
175 | ## Hardware support |
176 | 176 | ||
177 | % Framebuffer support |
177 | % Framebuffer support |
178 | ! [(PLATFORM=mips32&MACHINE=lgxemul)|(PLATFORM=mips32&MACHINE=bgxemul)|(PLATFORM=ia32)|(PLATFORM=amd64)|(PLATFORM=arm32)] CONFIG_FB (y/n) |
178 | ! [(PLATFORM=mips32&MACHINE=lgxemul)|(PLATFORM=mips32&MACHINE=bgxemul)|(PLATFORM=ia32)|(PLATFORM=amd64)|(PLATFORM=arm32)|(PLATFORM=sparc64&MACHINE=us3)] CONFIG_FB (y/n) |
179 | 179 | ||
180 | % Framebuffer width |
180 | % Framebuffer width |
181 | @ "640" |
181 | @ "640" |
182 | @ "800" |
182 | @ "800" |
183 | @ "1024" |
183 | @ "1024" |
184 | @ "1152" |
184 | @ "1152" |
185 | @ "1280" |
185 | @ "1280" |
186 | @ "1400" |
186 | @ "1400" |
187 | @ "1440" |
187 | @ "1440" |
188 | @ "1600" |
188 | @ "1600" |
189 | @ "2048" |
189 | @ "2048" |
190 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_WIDTH (choice) |
190 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_WIDTH (choice) |
191 | 191 | ||
192 | % Framebuffer height |
192 | % Framebuffer height |
193 | @ "480" |
193 | @ "480" |
194 | @ "600" |
194 | @ "600" |
195 | @ "768" |
195 | @ "768" |
196 | @ "852" |
196 | @ "852" |
197 | @ "900" |
197 | @ "900" |
198 | @ "960" |
198 | @ "960" |
199 | @ "1024" |
199 | @ "1024" |
200 | @ "1050" |
200 | @ "1050" |
201 | @ "1200" |
201 | @ "1200" |
202 | @ "1536" |
202 | @ "1536" |
203 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_HEIGHT (choice) |
203 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_HEIGHT (choice) |
204 | 204 | ||
205 | % Framebuffer depth |
205 | % Framebuffer depth |
206 | @ "8" |
206 | @ "8" |
207 | @ "16" |
207 | @ "16" |
208 | @ "24" |
208 | @ "24" |
209 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_BPP (choice) |
209 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_BPP (choice) |
210 | 210 | ||
211 | % Start AP processors by the loader |
211 | % Start AP processors by the loader |
212 | ! [PLATFORM=sparc64&CONFIG_SMP=y] CONFIG_AP (y/n) |
212 | ! [PLATFORM=sparc64&CONFIG_SMP=y] CONFIG_AP (y/n) |
213 | 213 | ||
214 | % Use Block Address Translation by the loader |
214 | % Use Block Address Translation by the loader |
215 | ! [PLATFORM=ppc32] CONFIG_BAT (y/n) |
215 | ! [PLATFORM=ppc32] CONFIG_BAT (y/n) |
216 | 216 | ||
217 | % Preserve A.OUT header in isofs.b |
217 | % Preserve A.OUT header in isofs.b |
218 | ! [PLATFORM=sparc64] CONFIG_AOUT_ISOFS_B (y/n) |
218 | ! [PLATFORM=sparc64] CONFIG_AOUT_ISOFS_B (y/n) |
219 | 219 | ||
220 | % External ramdisk |
220 | % External ramdisk |
221 | ! [PLATFORM=sparc64] CONFIG_RD_EXTERNAL (y/n) |
221 | ! [PLATFORM=sparc64] CONFIG_RD_EXTERNAL (y/n) |
222 | 222 |