[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:
Piotr Jaroszyński
2010-03-22 23:19:00 +01:00
committed by Michael Brown
parent 80d1ac7320
commit 46d6ec7d77
11 changed files with 25 additions and 2 deletions

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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
View File

@@ -0,0 +1 @@
*

View File

@@ -14,4 +14,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
//#undef NAP_PCBIOS
//#define NAP_NULL
#include <config/local/nap.h>
#endif /* CONFIG_NAP_H */

View File

@@ -32,4 +32,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define COMSTOP 1 /* Stop bits */
#endif
#include <config/local/serial.h>
#endif /* CONFIG_SERIAL_H */

View File

@@ -14,4 +14,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
//#undef TIMER_PCBIOS
//#define TIMER_RDTSC
#include <config/local/timer.h>
#endif /* CONFIG_TIMER_H */

View File

@@ -11,4 +11,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <config/defaults.h>
#include <config/local/umalloc.h>
#endif /* CONFIG_UMALLOC_H */