mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 04:50:25 +03:00
[build] Add support for local configuration files
Include config/local/$file in config/$file where it makes sense and create empty local configs during build if not present. Modified-by: Michael Brown <mcb30@etherboot.org> Signed-off-by: Michael Brown <mcb30@etherboot.org>
This commit is contained in:
committed by
Michael Brown
parent
80d1ac7320
commit
46d6ec7d77
@@ -20,4 +20,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
//#define CONSOLE_BTEXT /* Who knows what this does? */
|
||||
//#define CONSOLE_PC_KBD /* Direct access to PC keyboard */
|
||||
|
||||
#include <config/local/console.h>
|
||||
|
||||
#endif /* CONFIG_CONSOLE_H */
|
||||
|
||||
@@ -145,4 +145,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#undef GDBUDP /* Remote GDB debugging over UDP
|
||||
* (both may be set) */
|
||||
|
||||
#include <config/local/general.h>
|
||||
|
||||
#endif /* CONFIG_GENERAL_H */
|
||||
|
||||
@@ -14,4 +14,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
//#undef PCIAPI_PCBIOS /* Access via PCI BIOS */
|
||||
//#define PCIAPI_DIRECT /* Direct access via Type 1 accesses */
|
||||
|
||||
#include <config/local/ioapi.h>
|
||||
|
||||
#endif /* CONFIG_IOAPI_H */
|
||||
|
||||
@@ -12,4 +12,6 @@
|
||||
#undef ISA_PROBE_ADDRS /* e.g. 0x200, 0x300 */
|
||||
#undef ISA_PROBE_ONLY /* Do not probe any other addresses */
|
||||
|
||||
#include <config/local/isa.h>
|
||||
|
||||
#endif /* CONFIG_ISA_H */
|
||||
|
||||
1
src/config/local/.gitignore
vendored
Normal file
1
src/config/local/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*
|
||||
@@ -14,4 +14,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
//#undef NAP_PCBIOS
|
||||
//#define NAP_NULL
|
||||
|
||||
#include <config/local/nap.h>
|
||||
|
||||
#endif /* CONFIG_NAP_H */
|
||||
|
||||
@@ -32,4 +32,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#define COMSTOP 1 /* Stop bits */
|
||||
#endif
|
||||
|
||||
#include <config/local/serial.h>
|
||||
|
||||
#endif /* CONFIG_SERIAL_H */
|
||||
|
||||
@@ -14,4 +14,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
//#undef TIMER_PCBIOS
|
||||
//#define TIMER_RDTSC
|
||||
|
||||
#include <config/local/timer.h>
|
||||
|
||||
#endif /* CONFIG_TIMER_H */
|
||||
|
||||
@@ -11,4 +11,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#include <config/defaults.h>
|
||||
|
||||
#include <config/local/umalloc.h>
|
||||
|
||||
#endif /* CONFIG_UMALLOC_H */
|
||||
|
||||
Reference in New Issue
Block a user