From: Michael Brown Date: Wed, 20 Dec 2006 00:39:06 +0000 (+0000) Subject: Select required commands via config.h X-Git-Tag: v0.9.3~885 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec5789bf0cda2bf49b30cf5e4798e5b7f0787e63;p=thirdparty%2Fipxe.git Select required commands via config.h --- diff --git a/src/config.h b/src/config.h index 6fd3deb53..cedd68bce 100644 --- a/src/config.h +++ b/src/config.h @@ -110,6 +110,15 @@ /* @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 diff --git a/src/core/config.c b/src/core/config.c index b2cf09411..fa3a4b0fe 100644 --- a/src/core/config.c +++ b/src/core/config.c @@ -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 *