Rev 3873 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3873 | Rev 3888 | ||
---|---|---|---|
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 | @ "ia64" Intel IA-64 |
36 | @ "ia64" Intel IA-64 |
37 | @ "mips32" MIPS 32-bit |
37 | @ "mips32" MIPS 32-bit |
38 | @ "ppc32" PowerPC 32-bit (iMac G4) |
38 | @ "ppc32" PowerPC 32-bit (iMac G4) |
39 | @ "sparc64" Sun UltraSPARC 64-bit |
39 | @ "sparc64" Sun UltraSPARC 64-bit |
40 | ! PLATFORM (choice) |
40 | ! PLATFORM (choice) |
41 | 41 | ||
42 | % Machine type |
42 | % Machine type |
43 | @ "msim" MSIM |
43 | @ "msim" MSIM |
44 | @ "simics" Simics |
44 | @ "simics" Simics |
45 | @ "bgxemul" GXEmul big endian |
45 | @ "bgxemul" GXEmul big endian |
46 | @ "lgxemul" GXEmul little endian |
46 | @ "lgxemul" GXEmul little endian |
47 | ! [PLATFORM=mips32] MACHINE (choice) |
47 | ! [PLATFORM=mips32] MACHINE (choice) |
48 | 48 | ||
49 | % Machine type |
49 | % Machine type |
50 | @ "i460GX" i460GX chipset machine |
50 | @ "i460GX" i460GX chipset machine |
51 | @ "ski" Ski ia64 simulator |
51 | @ "ski" Ski ia64 simulator |
52 | ! [PLATFORM=ia64] MACHINE (choice) |
52 | ! [PLATFORM=ia64] MACHINE (choice) |
53 | 53 | ||
54 | % CPU type |
54 | % CPU type |
55 | @ "pentium4" Pentium 4 |
55 | @ "pentium4" Pentium 4 |
56 | @ "pentium3" Pentium 3 |
56 | @ "pentium3" Pentium 3 |
57 | @ "core" Core Solo/Duo |
57 | @ "core" Core Solo/Duo |
58 | @ "athlon-xp" Athlon XP |
58 | @ "athlon-xp" Athlon XP |
59 | @ "athlon-mp" Athlon MP |
59 | @ "athlon-mp" Athlon MP |
60 | ! [PLATFORM=ia32] MACHINE (choice) |
60 | ! [PLATFORM=ia32] MACHINE (choice) |
61 | 61 | ||
62 | % CPU type |
62 | % CPU type |
63 | @ "opteron" Opteron |
63 | @ "opteron" Opteron |
64 | ! [PLATFORM=amd64] MACHINE (choice) |
64 | ! [PLATFORM=amd64] MACHINE (choice) |
65 | 65 | ||
66 | % CPU type |
66 | % CPU type |
67 | @ "us" UltraSPARC I-II subarchitecture |
67 | @ "us" UltraSPARC I-II subarchitecture |
68 | @ "us3" UltraSPARC III-IV subarchitecture |
68 | @ "us3" UltraSPARC III-IV subarchitecture |
69 | ! [PLATFORM=sparc64] MACHINE (choice) |
69 | ! [PLATFORM=sparc64] MACHINE (choice) |
70 | 70 | ||
71 | % Ramdisk format |
71 | % Ramdisk format |
72 | @ "tmpfs" TMPFS image |
72 | @ "tmpfs" TMPFS image |
73 | @ "fat" FAT16 image |
73 | @ "fat" FAT16 image |
74 | ! RDFMT (choice) |
74 | ! RDFMT (choice) |
75 | 75 | ||
76 | 76 | ||
77 | ## Compiler options |
77 | ## Compiler options |
78 | 78 | ||
79 | % Compiler |
79 | % Compiler |
80 | @ "gcc_cross" GCC Cross-compiler |
80 | @ "gcc_cross" GCC Cross-compiler |
81 | @ "gcc_native" GCC Native |
81 | @ "gcc_native" GCC Native |
82 | @ "icc_native" ICC Native |
82 | @ "icc_native" ICC Native |
83 | @ "suncc_native" Sun Studio C Compiler |
83 | @ "suncc_native" Sun Studio C Compiler |
84 | ! [PLATFORM=amd64|PLATFORM=ia32] COMPILER (choice) |
84 | ! [PLATFORM=amd64|PLATFORM=ia32] COMPILER (choice) |
85 | 85 | ||
86 | % Compiler |
86 | % Compiler |
87 | @ "gcc_cross" GCC Cross-compiler |
87 | @ "gcc_cross" GCC Cross-compiler |
88 | @ "gcc_native" GCC Native |
88 | @ "gcc_native" GCC Native |
89 | @ "icc_native" ICC Native |
89 | @ "icc_native" ICC Native |
90 | ! [PLATFORM=ia64] COMPILER (choice) |
90 | ! [PLATFORM=ia64] COMPILER (choice) |
91 | 91 | ||
92 | % Compiler |
92 | % Compiler |
93 | @ "gcc_cross" GCC Cross-compiler |
93 | @ "gcc_cross" GCC Cross-compiler |
94 | @ "gcc_native" GCC Native |
94 | @ "gcc_native" GCC Native |
95 | @ "suncc_native" Sun Studio C Compiler |
95 | @ "suncc_native" Sun Studio C Compiler |
96 | ! [PLATFORM=sparc64] COMPILER (choice) |
96 | ! [PLATFORM=sparc64] COMPILER (choice) |
97 | 97 | ||
98 | % Compiler |
98 | % Compiler |
99 | @ "gcc_cross" GCC Cross-compiler |
99 | @ "gcc_cross" GCC Cross-compiler |
100 | @ "gcc_native" GCC Native |
100 | @ "gcc_native" GCC Native |
101 | ! [PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32] COMPILER (choice) |
101 | ! [PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32] COMPILER (choice) |
102 | 102 | ||
103 | 103 | ||
104 | ## Debug build options |
104 | ## Debug build options |
105 | 105 | ||
106 | % Debug build |
106 | % Debug build |
107 | ! CONFIG_DEBUG (y/n) |
107 | ! CONFIG_DEBUG (y/n) |
108 | 108 | ||
109 | 109 | ||
110 | ## Kernel features options |
110 | ## Kernel features options |
111 | 111 | ||
112 | % Support for SMP |
112 | % Support for SMP |
113 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64] CONFIG_SMP (y/n) |
113 | ! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64] CONFIG_SMP (y/n) |
114 | 114 | ||
115 | % Improved support for hyperthreading |
115 | % Improved support for hyperthreading |
116 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_SMP=y] CONFIG_HT (y/n) |
116 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_SMP=y] CONFIG_HT (y/n) |
117 | 117 | ||
118 | % Simics BIOS AP boot fix |
118 | % Simics BIOS AP boot fix |
119 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_SMP=y] CONFIG_SIMICS_FIX (y/n) |
119 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_SMP=y] CONFIG_SIMICS_FIX (y/n) |
120 | 120 | ||
121 | % Lazy FPU context switching |
121 | % Lazy FPU context switching |
122 | ! [(PLATFORM=mips32&MACHINE!=msim&MACHINE!=simics)|PLATFORM=amd64|PLATFORM=ia32|PLATFORM=ia64|PLATFORM=sparc64] CONFIG_FPU_LAZY (y/n) |
122 | ! [(PLATFORM=mips32&MACHINE!=msim&MACHINE!=simics)|PLATFORM=amd64|PLATFORM=ia32|PLATFORM=ia64|PLATFORM=sparc64] CONFIG_FPU_LAZY (y/n) |
123 | 123 | ||
124 | % Use VHPT |
124 | % Use VHPT |
125 | ! [PLATFORM=ia64] CONFIG_VHPT (n/y) |
125 | ! [PLATFORM=ia64] CONFIG_VHPT (n/y) |
126 | 126 | ||
127 | % Use TSB |
127 | % Use TSB |
128 | ! [PLATFORM=sparc64] CONFIG_TSB (y/n) |
128 | ! [PLATFORM=sparc64] CONFIG_TSB (y/n) |
129 | 129 | ||
130 | % Support for Z8530 serial port |
130 | % Support for Z8530 serial port |
131 | ! [PLATFORM=sparc64] CONFIG_Z8530 (y/n) |
131 | ! [PLATFORM=sparc64] CONFIG_Z8530 (y/n) |
132 | 132 | ||
133 | % Support for NS16550 serial port |
133 | % Support for NS16550 serial port |
134 | ! [PLATFORM=sparc64|(PLATFORM=ia64&MACHINE!=ski)] CONFIG_NS16550 (n/y) |
134 | ! [PLATFORM=sparc64|(PLATFORM=ia64&MACHINE!=ski)] CONFIG_NS16550 (n/y) |
135 | 135 | ||
136 | % Support for Serengeti console |
136 | % Support for Serengeti console |
137 | ! [PLATFORM=sparc64] CONFIG_SGCN (y/n) |
137 | ! [PLATFORM=sparc64] CONFIG_SGCN (y/n) |
138 | 138 | ||
139 | % IOSapic on default address support |
139 | % IOSapic on default address support |
140 | ! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n) |
140 | ! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n) |
141 | 141 | ||
142 | % Interrupt-driven driver for Legacy Keyboard |
142 | % Interrupt-driven driver for Legacy Keyboard |
143 | ! [CONFIG_NS16550=n&CONFIG_IOSAPIC=y&MACHINE!=ski] CONFIG_I8042_INTERRUPT_DRIVEN (y/n) |
143 | ! [CONFIG_NS16550=n&CONFIG_IOSAPIC=y&MACHINE!=ski] CONFIG_I8042_INTERRUPT_DRIVEN (y/n) |
144 | 144 | ||
145 | % Interrupt-driven driver for NS16550 |
145 | % Interrupt-driven driver for NS16550 |
146 | ! [CONFIG_NS16550=y&((PLATFORM!=ia64)|CONFIG_IOSAPIC=y)&MACHINE!=ski] CONFIG_NS16550_INTERRUPT_DRIVEN (y/n) |
146 | ! [CONFIG_NS16550=y&((PLATFORM!=ia64)|CONFIG_IOSAPIC=y)&MACHINE!=ski] CONFIG_NS16550_INTERRUPT_DRIVEN (y/n) |
147 | 147 | ||
148 | % Virtually indexed D-cache support |
148 | % Virtually indexed D-cache support |
149 | ! [PLATFORM=sparc64] CONFIG_VIRT_IDX_DCACHE (y/n) |
149 | ! [PLATFORM=sparc64] CONFIG_VIRT_IDX_DCACHE (y/n) |
150 | 150 | ||
151 | % Support for userspace debuggers |
151 | % Support for userspace debuggers |
152 | ! CONFIG_UDEBUG (n/y) |
152 | ! CONFIG_UDEBUG (n/y) |
153 | 153 | ||
154 | % Kernel console support |
154 | % Kernel console support |
155 | ! CONFIG_KCONSOLE (y/n) |
155 | ! CONFIG_KCONSOLE (y/n) |
156 | 156 | ||
157 | % Detailed kernel logging |
157 | % Detailed kernel logging |
158 | ! CONFIG_LOG (n/y) |
158 | ! CONFIG_LOG (n/y) |
159 | 159 | ||
160 | % Deadlock detection support for spinlocks |
160 | % Deadlock detection support for spinlocks |
161 | ! [CONFIG_DEBUG=y&CONFIG_SMP=y] CONFIG_DEBUG_SPINLOCK (y/n) |
161 | ! [CONFIG_DEBUG=y&CONFIG_SMP=y] CONFIG_DEBUG_SPINLOCK (y/n) |
162 | 162 | ||
163 | % Watchpoint on rewriting AS with zero |
163 | % Watchpoint on rewriting AS with zero |
164 | ! [CONFIG_DEBUG=y&(PLATFORM=amd64|PLATFORM=ia32)] CONFIG_DEBUG_AS_WATCHPOINT (y/n) |
164 | ! [CONFIG_DEBUG=y&(PLATFORM=amd64|PLATFORM=ia32)] CONFIG_DEBUG_AS_WATCHPOINT (y/n) |
165 | 165 | ||
166 | % Save all interrupt registers |
166 | % Save all interrupt registers |
167 | ! [CONFIG_DEBUG=y&(PLATFORM=amd64|PLATFORM=mips32|PLATFORM=ia32)] CONFIG_DEBUG_ALLREGS (y/n) |
167 | ! [CONFIG_DEBUG=y&(PLATFORM=amd64|PLATFORM=mips32|PLATFORM=ia32)] CONFIG_DEBUG_ALLREGS (y/n) |
168 | 168 | ||
169 | % Compile kernel tests |
169 | % Compile kernel tests |
170 | ! CONFIG_TEST (y/n) |
170 | ! CONFIG_TEST (y/n) |
171 | 171 | ||
172 | 172 | ||
173 | ## Hardware support |
173 | ## Hardware support |
174 | 174 | ||
175 | % Framebuffer support |
175 | % Framebuffer support |
176 | ! [(PLATFORM=mips32&MACHINE=lgxemul)|(PLATFORM=mips32&MACHINE=bgxemul)|(PLATFORM=ia32)|(PLATFORM=amd64)|(PLATFORM=arm32)|(PLATFORM=sparc64&MACHINE=us3)] CONFIG_FB (y/n) |
176 | ! [(PLATFORM=mips32&MACHINE=lgxemul)|(PLATFORM=mips32&MACHINE=bgxemul)|(PLATFORM=ia32)|(PLATFORM=amd64)|(PLATFORM=arm32)|(PLATFORM=sparc64&MACHINE=us3)] CONFIG_FB (y/n) |
177 | 177 | ||
178 | % Framebuffer width |
178 | % Framebuffer width |
179 | @ "640" |
179 | @ "640" |
180 | @ "800" |
180 | @ "800" |
181 | @ "1024" |
181 | @ "1024" |
182 | @ "1152" |
182 | @ "1152" |
183 | @ "1280" |
183 | @ "1280" |
184 | @ "1400" |
184 | @ "1400" |
185 | @ "1440" |
185 | @ "1440" |
186 | @ "1600" |
186 | @ "1600" |
187 | @ "2048" |
187 | @ "2048" |
188 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_WIDTH (choice) |
188 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_WIDTH (choice) |
189 | 189 | ||
190 | % Framebuffer height |
190 | % Framebuffer height |
191 | @ "480" |
191 | @ "480" |
192 | @ "600" |
192 | @ "600" |
193 | @ "768" |
193 | @ "768" |
194 | @ "852" |
194 | @ "852" |
195 | @ "900" |
195 | @ "900" |
196 | @ "960" |
196 | @ "960" |
197 | @ "1024" |
197 | @ "1024" |
198 | @ "1050" |
198 | @ "1050" |
199 | @ "1200" |
199 | @ "1200" |
200 | @ "1536" |
200 | @ "1536" |
201 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_HEIGHT (choice) |
201 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_HEIGHT (choice) |
202 | 202 | ||
203 | % Framebuffer depth |
203 | % Framebuffer depth |
204 | @ "8" |
204 | @ "8" |
205 | @ "16" |
205 | @ "16" |
206 | @ "24" |
206 | @ "24" |
207 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_BPP (choice) |
207 | ! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_BPP (choice) |
208 | 208 | ||
209 | % Start AP processors by the loader |
209 | % Start AP processors by the loader |
210 | ! [PLATFORM=sparc64&CONFIG_SMP=y] CONFIG_AP (y/n) |
210 | ! [PLATFORM=sparc64&CONFIG_SMP=y] CONFIG_AP (y/n) |
211 | 211 | ||
212 | % Use Block Address Translation by the loader |
212 | % Use Block Address Translation by the loader |
213 | ! [PLATFORM=ppc32] CONFIG_BAT (y/n) |
213 | ! [PLATFORM=ppc32] CONFIG_BAT (y/n) |
214 | 214 | ||
215 | % Preserve A.OUT header in isofs.b |
215 | % Preserve A.OUT header in isofs.b |
216 | ! [PLATFORM=sparc64] CONFIG_AOUT_ISOFS_B (y/n) |
216 | ! [PLATFORM=sparc64] CONFIG_AOUT_ISOFS_B (y/n) |
217 | 217 | ||
218 | % External ramdisk |
218 | % External ramdisk |
219 | ! [PLATFORM=sparc64] CONFIG_RD_EXTERNAL (y/n) |
219 | ! [PLATFORM=sparc64] CONFIG_RD_EXTERNAL (y/n) |
220 | 220 |