summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2013-11-27 20:43:25 +0100
committerMichael Brown2013-11-28 06:55:45 +0100
commit0b81be823df241547c0ab3153cf08322093f1b9e (patch)
treeb4ce73c2f60385c68768b55a89d7c3546645a5ef /src/config
parent[console] Add concept of generic console configuration (diff)
downloadipxe-0b81be823df241547c0ab3153cf08322093f1b9e.tar.gz
ipxe-0b81be823df241547c0ab3153cf08322093f1b9e.tar.xz
ipxe-0b81be823df241547c0ab3153cf08322093f1b9e.zip
[cmdline] Add "console" command to configure console
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.c3
-rw-r--r--src/config/general.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 89af88ac..b81cfb5c 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -278,6 +278,9 @@ REQUIRE_OBJECT ( neighbour_cmd );
#ifdef PING_CMD
REQUIRE_OBJECT ( ping_cmd );
#endif
+#ifdef CONSOLE_CMD
+REQUIRE_OBJECT ( console_cmd );
+#endif
/*
* Drag in miscellaneous objects
diff --git a/src/config/general.h b/src/config/general.h
index 0b1196c5..e73a640e 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -135,6 +135,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
//#define PARAM_CMD /* Form parameter commands */
//#define NEIGHBOUR_CMD /* Neighbour management commands */
//#define PING_CMD /* Ping command */
+//#define CONSOLE_CMD /* Console command */
/*
* ROM-specific options