diff options
| author | Michael Brown | 2006-12-20 01:39:06 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-20 01:39:06 +0100 |
| commit | ec5789bf0cda2bf49b30cf5e4798e5b7f0787e63 (patch) | |
| tree | f0b2fe09fdb260dc76b78f29e1c7b5a0a47ff708 | |
| parent | Remove warning (at least on platforms with uint32_t == unsigned long). (diff) | |
| download | ipxe-ec5789bf0cda2bf49b30cf5e4798e5b7f0787e63.tar.gz ipxe-ec5789bf0cda2bf49b30cf5e4798e5b7f0787e63.tar.xz ipxe-ec5789bf0cda2bf49b30cf5e4798e5b7f0787e63.zip | |
Select required commands via config.h
| -rw-r--r-- | src/config.h | 9 | ||||
| -rw-r--r-- | src/core/config.c | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 6fd3deb53..cedd68bce 100644 --- a/src/config.h +++ b/src/config.h @@ -112,6 +112,15 @@ /* @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 * * You probably don't need to touch these. 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 @@ -140,6 +140,14 @@ REQUIRE_OBJECT ( pxe ); #endif /* + * Drag in all requested commands + * + */ +#ifdef NVO_CMD +REQUIRE_OBJECT ( nvo_cmd ); +#endif + +/* * Drag in miscellaneous objects * */ |
