From ec5789bf0cda2bf49b30cf5e4798e5b7f0787e63 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 20 Dec 2006 00:39:06 +0000 Subject: [PATCH] Select required commands via config.h --- src/config.h | 9 +++++++++ src/core/config.c | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/src/config.h b/src/config.h index 6fd3deb5..cedd68bc 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 b2cf0941..fa3a4b0f 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 *