diff options
author | Michael Brown | 2013-07-09 17:01:52 +0200 |
---|---|---|
committer | Michael Brown | 2013-07-13 12:44:48 +0200 |
commit | 258195242b40526a4d2bc930cc425380f337918d (patch) | |
tree | ff6cdd606c3db3618f5cf5b262630678a0c8626b /src/config | |
parent | [linux] Add support for accessing PCI configuration space via /proc/bus/pci (diff) | |
download | ipxe-258195242b40526a4d2bc930cc425380f337918d.tar.gz ipxe-258195242b40526a4d2bc930cc425380f337918d.tar.xz ipxe-258195242b40526a4d2bc930cc425380f337918d.zip |
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/config.c | 7 | ||||
-rw-r--r-- | src/config/settings.h | 16 | ||||
-rw-r--r-- | src/config/sideband.h | 1 |
3 files changed, 22 insertions, 2 deletions
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 <config/general.h> #include <config/console.h> #include <config/sideband.h> +#include <config/settings.h> /** @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 <config/local/settings.h> + +#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 <config/local/sideband.h> |