From 258195242b40526a4d2bc930cc425380f337918d Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 9 Jul 2013 16:01:52 +0100 Subject: [PATCH] [settings] Add config/settings.h Move VMWARE_SETTINGS build configuration option from config/sideband.h to a new config/settings.h. Existing instances of config/local/sideband.h will not be affected, since config.c still #includes config/sideband.h. Signed-off-by: Michael Brown --- src/config/config.c | 7 ++++++- src/config/settings.h | 16 ++++++++++++++++ src/config/sideband.h | 1 - 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 src/config/settings.h diff --git a/src/config/config.c b/src/config/config.c index bd1d9885..15d57d1e 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -10,6 +10,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include #include #include +#include /** @file * @@ -293,9 +294,13 @@ REQUIRE_OBJECT ( tap ); REQUIRE_OBJECT ( efi_bofm ); #endif /* BOFM_EFI */ #endif /* CONFIG_BOFM */ + +/* + * Drag in relevant settings sources + */ #ifdef VMWARE_SETTINGS REQUIRE_OBJECT ( guestinfo ); -#endif /* VMWARE_SETTINGS */ +#endif /* * Drag in selected keyboard map diff --git a/src/config/settings.h b/src/config/settings.h new file mode 100644 index 00000000..331c7e3a --- /dev/null +++ b/src/config/settings.h @@ -0,0 +1,16 @@ +#ifndef CONFIG_SETTINGS_H +#define CONFIG_SETTINGS_H + +/** @file + * + * Configuration settings sources + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +//#define VMWARE_SETTINGS /* VMware GuestInfo settings */ + +#include + +#endif /* CONFIG_SETTINGS_H */ diff --git a/src/config/sideband.h b/src/config/sideband.h index 52339993..2e2a8d41 100644 --- a/src/config/sideband.h +++ b/src/config/sideband.h @@ -10,7 +10,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); //#define CONFIG_BOFM /* IBM's BladeCenter Open Fabric Manager */ -//#define VMWARE_SETTINGS /* VMware GuestInfo settings */ #include