浏览代码

Select required commands via config.h

tags/v0.9.3
Michael Brown 18 年前
父节点
当前提交
ec5789bf0c
共有 2 个文件被更改,包括 17 次插入0 次删除
  1. 9
    0
      src/config.h
  2. 8
    0
      src/core/config.c

+ 9
- 0
src/config.h 查看文件

110
 
110
 
111
 /* @END general.h */ 
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
 /* @BEGIN general.h
122
 /* @BEGIN general.h
114
  *
123
  *
115
  * Obscure configuration options
124
  * Obscure configuration options

+ 8
- 0
src/core/config.c 查看文件

139
 REQUIRE_OBJECT ( pxe );
139
 REQUIRE_OBJECT ( pxe );
140
 #endif
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
  * Drag in miscellaneous objects
151
  * Drag in miscellaneous objects
144
  *
152
  *

正在加载...
取消
保存