Bladeren bron

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

tags/v0.9.3
Michael Brown 19 jaren geleden
bovenliggende
commit
451ea7ffc5
2 gewijzigde bestanden met toevoegingen van 32 en 4 verwijderingen
  1. 15
    0
      src/Config
  2. 17
    4
      src/arch/i386/Config

+ 15
- 0
src/Config Bestand weergeven

@@ -1,6 +1,21 @@
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 16
 # Config for Etherboot/32
3 17
 #
18
+#
4 19
 # Do not delete the tag OptionDescription and /OptionDescription
5 20
 # It is used to automatically generate the documentation.
6 21
 #

+ 17
- 4
src/arch/i386/Config Bestand weergeven

@@ -1,3 +1,20 @@
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 18
 # Config for i386 Etherboot
2 19
 #
3 20
 # Do not delete the tag OptionDescription and /OptionDescription
@@ -99,10 +116,6 @@ CFLAGS+=	-DPCBIOS
99 116
 # LCONFIG+=	-DBBS_BUT_NOT_PNP_COMPLIANT
100 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 119
 # Produce code that will work with OpenBSD's pxeboot
107 120
 # CFLAGS+=	-DFLATTEN_REAL_MODE
108 121
 

Laden…
Annuleren
Opslaan