]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Select required commands via config.h
authorMichael Brown <mcb30@etherboot.org>
Wed, 20 Dec 2006 00:39:06 +0000 (00:39 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 20 Dec 2006 00:39:06 +0000 (00:39 +0000)
src/config.h
src/core/config.c

index 6fd3deb53aee0057a2de7f697f163f3d643812ee..cedd68bce78fbc330765a1138a823f87ee4e9278 100644 (file)
 
 /* @END general.h */ 
 
+/* @BEGIN general.h
+ *
+ * Command-line commands to include
+ *
+ */
+#define        NVO_CMD                 /* Non-volatile option storage commands */
+
+/* @END general.h */ 
+
 /* @BEGIN general.h
  *
  * Obscure configuration options
index b2cf09411f4e197655b54ffa39f2cf508586b116..fa3a4b0fe182de0220b46fdbc2e966f8d264a567 100644 (file)
@@ -139,6 +139,14 @@ REQUIRE_OBJECT ( wince );
 REQUIRE_OBJECT ( pxe );
 #endif
 
+/*
+ * Drag in all requested commands
+ *
+ */
+#ifdef NVO_CMD
+REQUIRE_OBJECT ( nvo_cmd );
+#endif
+
 /*
  * Drag in miscellaneous objects
  *