Kaynağa Gözat

Moved console options to config.h

Removed CONFIG_{PCI,ISA,PCMCIA}, since buses are now always compiled and
linked in only if required by the individual driver objects.
tags/v0.9.3
Michael Brown 19 yıl önce
ebeveyn
işleme
3c55caf24c
2 değiştirilmiş dosya ile 17 ekleme ve 24 silme
  1. 0
    24
      src/Config
  2. 17
    0
      src/config.h

+ 0
- 24
src/Config Dosyayı Görüntüle

@@ -193,18 +193,6 @@
193 193
 #	-DDOWNLOAD_PROTO_HTTP
194 194
 #			If defined, includes HTTP support.
195 195
 #
196
-#	Console options:
197
-#
198
-#	-DCONSOLE_FIRMWARE
199
-#			Set for firmware/BIOS provided (default if nothing else is set).
200
-#			Normally this is shows up on your CRT.
201
-#	-DCONSOLE_SERIAL
202
-#			Set for serial console.
203
-#	-DCONSOLE_DUAL
204
-#			Both of the above
205
-#	-DCONSOLE_DIRECT_VGA
206
-#			Set for direct VGA console (only for x86).
207
-#
208 196
 #	Interface export options:
209 197
 #
210 198
 #	-DPXE_EXPORT
@@ -246,24 +234,12 @@
246 234
 #			running the one you think you are.  Requires
247 235
 #			-DBUILD_SERIAL.
248 236
 #
249
-#	BUS options:
250
-#	
251
-#	-DCONFIG_PCI
252
-#			Include support for devices using the pci bus.
253
-#	-DCONFIG_ISA
254
-#			Include support for devices using isa bus.
255
-#	-DCONFIG_PCMCIA
256
-#			Include support for PCMCIA in general *development*
257 237
 # @/OptionDescription@
258 238
 
259 239
 # These default settings compile Etherboot with a small number of options.
260 240
 # You may wish to enable more of the features if the size of your ROM allows.
261 241
 
262 242
 
263
-# Select which buses etherboot should support
264
-CFLAGS+=	-DCONFIG_PCI -DCONFIG_ISA
265
-# CFLAGS+=	-DCONFIG_PCMCIA
266
-
267 243
 # For prompting and default on timeout
268 244
 CFLAGS+=	-DASK_BOOT=3 -DBOOT_FIRST=BOOT_NIC
269 245
 # If you would like to attempt to boot from other devices as well as the network.

+ 17
- 0
src/config.h Dosyayı Görüntüle

@@ -8,6 +8,23 @@
8 8
  *
9 9
  */
10 10
 
11
+/* @BEGIN general.h
12
+ *
13
+ * Console configuration
14
+ *
15
+ * These options specify the console types that Etherboot will use for
16
+ * interaction with the user.
17
+ *
18
+ */
19
+
20
+#define CONSOLE_FIRMWARE	1	/* Default BIOS console */
21
+#define CONSOLE_SERIAL		0	/* Serial port */
22
+#define CONSOLE_DIRECT_VGA	0	/* Direct access to VGA card */
23
+#define CONSOLE_BTEXT		0	/* Who knows what this does? */
24
+#define CONSOLE_PC_KBD		0	/* Direct access to PC keyboard */
25
+
26
+/* @END general.h */
27
+
11 28
 /* @BEGIN serial.h
12 29
  *
13 30
  * Serial port configuration

Loading…
İptal
Kaydet