diff options
| author | Piotr Jaroszyński | 2010-04-08 01:40:31 +0200 |
|---|---|---|
| committer | Michael Brown | 2010-08-19 13:31:13 +0200 |
| commit | 18d3c12b01466e424d9a54e4dbbba94e7859ec48 (patch) | |
| tree | 1e55385d625f14d5cf34c64af6cee0b09efc2957 /src/config | |
| parent | [linux] Add most of the linux api (diff) | |
| download | ipxe-18d3c12b01466e424d9a54e4dbbba94e7859ec48.tar.gz ipxe-18d3c12b01466e424d9a54e4dbbba94e7859ec48.tar.xz ipxe-18d3c12b01466e424d9a54e4dbbba94e7859ec48.zip | |
[linux] Add console
Add linux console using stdin/out. Configure the attached terminal for
readline use.
Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/config.c | 3 | ||||
| -rw-r--r-- | src/config/defaults/linux.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c index 98be65d3b..561e53d40 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -82,6 +82,9 @@ REQUIRE_OBJECT ( syslog ); #ifdef CONSOLE_EFI REQUIRE_OBJECT ( efi_console ); #endif +#ifdef CONSOLE_LINUX +REQUIRE_OBJECT ( linux_console ); +#endif /* * Drag in all requested network protocols diff --git a/src/config/defaults/linux.h b/src/config/defaults/linux.h index fbb2c17b9..91f85c43b 100644 --- a/src/config/defaults/linux.h +++ b/src/config/defaults/linux.h @@ -7,6 +7,8 @@ * */ +#define CONSOLE_LINUX + #define IMAGE_SCRIPT #endif /* CONFIG_DEFAULTS_LINUX_H */ |
