summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2016-06-13 16:57:16 +0200
committerMichael Brown2016-06-13 16:57:16 +0200
commit3c61e11fe1a653b159ad472469fa74a3b2d0f116 (patch)
tree8509d004b15ee4d7d82fa09a675cc6770ffcc28d /src/config
parent[ntp] Add simple NTP client (diff)
downloadipxe-3c61e11fe1a653b159ad472469fa74a3b2d0f116.tar.gz
ipxe-3c61e11fe1a653b159ad472469fa74a3b2d0f116.tar.xz
ipxe-3c61e11fe1a653b159ad472469fa74a3b2d0f116.zip
[cmdline] Add "ntp" command
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 6f9e66cd..e24cfe0d 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -278,6 +278,9 @@ REQUIRE_OBJECT ( ipstat_cmd );
#ifdef PROFSTAT_CMD
REQUIRE_OBJECT ( profstat_cmd );
#endif
+#ifdef NTP_CMD
+REQUIRE_OBJECT ( ntp_cmd );
+#endif
/*
* Drag in miscellaneous objects
diff --git a/src/config/general.h b/src/config/general.h
index a2150150..a71ba726 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -147,6 +147,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
//#define CONSOLE_CMD /* Console command */
//#define IPSTAT_CMD /* IP statistics commands */
//#define PROFSTAT_CMD /* Profiling commands */
+//#define NTP_CMD /* NTP commands */
/*
* ROM-specific options