Quellcode durchsuchen

Select required commands via config.h

tags/v0.9.3
Michael Brown vor 17 Jahren
Ursprung
Commit
ec5789bf0c
2 geänderte Dateien mit 17 neuen und 0 gelöschten Zeilen
  1. 9
    0
      src/config.h
  2. 8
    0
      src/core/config.c

+ 9
- 0
src/config.h Datei anzeigen

@@ -110,6 +110,15 @@
110 110
 
111 111
 /* @END general.h */ 
112 112
 
113
+/* @BEGIN general.h
114
+ *
115
+ * Command-line commands to include
116
+ *
117
+ */
118
+#define	NVO_CMD			/* Non-volatile option storage commands */
119
+
120
+/* @END general.h */ 
121
+
113 122
 /* @BEGIN general.h
114 123
  *
115 124
  * Obscure configuration options

+ 8
- 0
src/core/config.c Datei anzeigen

@@ -139,6 +139,14 @@ REQUIRE_OBJECT ( wince );
139 139
 REQUIRE_OBJECT ( pxe );
140 140
 #endif
141 141
 
142
+/*
143
+ * Drag in all requested commands
144
+ *
145
+ */
146
+#ifdef NVO_CMD
147
+REQUIRE_OBJECT ( nvo_cmd );
148
+#endif
149
+
142 150
 /*
143 151
  * Drag in miscellaneous objects
144 152
  *

Laden…
Abbrechen
Speichern