Browse Source

Added warning about not using Config for single-object options.

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
451ea7ffc5
2 changed files with 32 additions and 4 deletions
  1. 15
    0
      src/Config
  2. 17
    4
      src/arch/i386/Config

+ 15
- 0
src/Config View File

1
+##############################################################################
2
+##############################################################################
3
+#
4
+# IMPORTANT!
5
+# 
6
+# This file is deprecated.  All options are gradually being migrated
7
+# to config.h.  Only options that affect the entire build
8
+# (e.g. overriding the $(CC) Makefile variable) should be placed in
9
+# here.
10
+#
11
+##############################################################################
12
+##############################################################################
13
+
14
+
1
 #
15
 #
2
 # Config for Etherboot/32
16
 # Config for Etherboot/32
3
 #
17
 #
18
+#
4
 # Do not delete the tag OptionDescription and /OptionDescription
19
 # Do not delete the tag OptionDescription and /OptionDescription
5
 # It is used to automatically generate the documentation.
20
 # It is used to automatically generate the documentation.
6
 #
21
 #

+ 17
- 4
src/arch/i386/Config View File

1
+##############################################################################
2
+##############################################################################
3
+#
4
+# IMPORTANT!
5
+# 
6
+# The use of this file to set options that affect only single object
7
+# files is deprecated, because changing anything in this file results
8
+# in a complete rebuild, which is slow.  All options are gradually
9
+# being migrated to config.h, which does not suffer from this problem.
10
+# 
11
+# Only options that affect the entire build (e.g. overriding the $(CC)
12
+# Makefile variable) should be placed in here.
13
+#
14
+##############################################################################
15
+##############################################################################
16
+
17
+
1
 # Config for i386 Etherboot
18
 # Config for i386 Etherboot
2
 #
19
 #
3
 # Do not delete the tag OptionDescription and /OptionDescription
20
 # Do not delete the tag OptionDescription and /OptionDescription
99
 # LCONFIG+=	-DBBS_BUT_NOT_PNP_COMPLIANT
116
 # LCONFIG+=	-DBBS_BUT_NOT_PNP_COMPLIANT
100
 # LCONFIG+=	-DBOOT_INT18H
117
 # LCONFIG+=	-DBOOT_INT18H
101
 
118
 
102
-# Produce code that will work inside the Bochs emulator.  The pnic
103
-# driver is probably the best one to try.
104
-# CFLAGS+=	-DCONFIG_PCI_DIRECT
105
-
106
 # Produce code that will work with OpenBSD's pxeboot
119
 # Produce code that will work with OpenBSD's pxeboot
107
 # CFLAGS+=	-DFLATTEN_REAL_MODE
120
 # CFLAGS+=	-DFLATTEN_REAL_MODE
108
 
121
 

Loading…
Cancel
Save