diff options
author | Joshua Oreman | 2009-08-07 03:52:06 +0200 |
---|---|---|
committer | Marty Connor | 2009-11-21 02:30:58 +0100 |
commit | 9a0bd0711f9e5d0a555fa35de8eb07cb29dc83a9 (patch) | |
tree | 11c38538abb48a5b9aef36c3782e11982d41e859 /src/Makefile | |
parent | [linker] Expand and correct symbol requirement macros (diff) | |
download | ipxe-9a0bd0711f9e5d0a555fa35de8eb07cb29dc83a9.tar.gz ipxe-9a0bd0711f9e5d0a555fa35de8eb07cb29dc83a9.tar.xz ipxe-9a0bd0711f9e5d0a555fa35de8eb07cb29dc83a9.zip |
[linker] Add mechanism for subsystem-dependent configuration options
It is often the case that some module of gPXE is only relevant if the
subsystem it depends on is already being included. For instance,
commands to manage wireless interfaces are quite useless if no
compiled-in driver has pulled in the wireless networking stack. There
may be a user-modifiable configuration options for these dependent
modules, but even if enabled, they should not be included when they
would be useless.
Solve this by allowing the creation of config_subsystem.c, for
configuration directives like those in the global config.c that should
only be considered when subsystem.c is included in the final gPXE
build.
For consistency, move core/config.c to the config/ directory, where
the other config_subsystem.c files will eventually reside.
Signed-off-by: Marty Connor <mdc@etherboot.org>
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index 16759ca0..72b0e64c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -73,6 +73,7 @@ SRCDIRS += crypto crypto/axtls crypto/matrixssl SRCDIRS += hci hci/commands hci/tui SRCDIRS += hci/mucurses hci/mucurses/widgets SRCDIRS += usr +SRCDIRS += config # NON_AUTO_SRCS lists files that are excluded from the normal # automatic build system. |