summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2009-03-09 11:40:27 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2009-03-09 11:40:27 +0000
commit20df05da3b83d9bd2d3c712d3d9a6794cd57504c (patch)
tree98f64b264c8a6e1525efdeb2bf3b908c1812bfeb
parent3ca40fdd3f246d99ecdfaf4eee08ac259916bc12 (diff)
downloadptxdist-20df05da3b83d9bd2d3c712d3d9a6794cd57504c.tar.gz
ptxdist-20df05da3b83d9bd2d3c712d3d9a6794cd57504c.tar.xz
* ntp: change the menus to be more intuitive
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10036 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r--rules/ntp.in7
-rw-r--r--rules/ntp.make6
-rw-r--r--rules/ntp_nonparse.in35
-rw-r--r--rules/ntp_parse.in11
4 files changed, 20 insertions, 39 deletions
diff --git a/rules/ntp.in b/rules/ntp.in
index d9f3aa109..92bc2da68 100644
--- a/rules/ntp.in
+++ b/rules/ntp.in
@@ -170,11 +170,12 @@ config NTP_ARLIB
comment "Clock drivers"
-config NTP_SELECT_CLOCK_DRIVERS
+config NTP_ALL_CLOCK_DRIVERS
bool
- prompt "Select clock drivers"
+ prompt "Build all clock drivers"
+ default y
help
- Enabling this entry will only build a set of selected clock drivers.
+ Disabling this entry will only build a set of selected clock drivers.
Else all clock drivers are included into the ntpd.
source "generated/networking_ntp.in"
diff --git a/rules/ntp.make b/rules/ntp.make
index 32d7d7ef5..2db938d8a 100644
--- a/rules/ntp.make
+++ b/rules/ntp.make
@@ -58,10 +58,10 @@ NTP_AUTOCONF := $(CROSS_AUTOCONF_USR) \
--without-rpath \
--disable-dependency-tracking
-ifdef PTXCONF_NTP_SELECT_CLOCK_DRIVERS
-NTP_AUTOCONF += --disable-all-clocks
-else
+ifdef PTXCONF_NTP_ALL_CLOCK_DRIVERS
NTP_AUTOCONF += --enable-all-clocks
+else
+NTP_AUTOCONF += --disable-all-clocks
endif
# NTP: options, we need lots of options ;-)
diff --git a/rules/ntp_nonparse.in b/rules/ntp_nonparse.in
index c49543c27..4aaa296e8 100644
--- a/rules/ntp_nonparse.in
+++ b/rules/ntp_nonparse.in
@@ -2,12 +2,11 @@
# --- non-PARSE clocks ---
-menuconfig NTP_NONE_PARSE_CLOCKS
- bool
- prompt "select non-PARSE clock drivers"
- depends on NTP_SELECT_CLOCK_DRIVERS
+if !NTP_ALL_CLOCK_DRIVERS
+
+menu "select non-PARSE clock drivers"
-if NTP_NONE_PARSE_CLOCKS
+#if NTP_NONE_PARSE_CLOCKS
config NTP_ACTS
bool
@@ -16,17 +15,14 @@ config NTP_ACTS
config NTP_ARBITER
bool
prompt "Arbiter 1088A/B GPS receiver"
- default y
config NTP_ARCRON_MSF
bool
prompt "Arcron MSF receiver"
- default y
config NTP_AS2201
bool
prompt "Austron 2200A/2201A GPS receiver"
- default y
config NTP_ATOM
bool
@@ -35,12 +31,10 @@ config NTP_ATOM
config NTP_CHRONOLOG
bool
prompt "Chrono-log K-series WWVB receiver"
- default y
config NTP_CHU
bool
prompt "CHU modem/decoder"
- default y
config NTP_AUDIO_CHU
bool
@@ -53,12 +47,10 @@ config NTP_DATUM
config NTP_DUMBCLOCK
bool
prompt "Dumb generic hh:mm:ss local clock"
- default y
config NTP_FG
bool
prompt "Forum Graphic GPS"
- default y
config NTP_HEATH
bool
@@ -67,17 +59,14 @@ config NTP_HEATH
config NTP_HOPFSERIAL
bool
prompt "hopf serial clock device"
- default y
config NTP_HOPFPCI
bool
prompt "hopf 6039 PCI board"
- default y
config NTP_HPGPS
bool
prompt "HP 58503A GPS receiver"
- default y
config NTP_IRIG
bool
@@ -86,7 +75,6 @@ config NTP_IRIG
config NTP_JJY
bool
prompt "JJY receiver"
- default y
config NTP_JUPITER
bool
@@ -95,19 +83,18 @@ config NTP_JUPITER
config NTP_LEITCH
bool
prompt "Leitch CSD 5300 Master Clock System Driver"
- default y
config NTP_LOCAL_CLOCK
bool
prompt "local clock reference"
default y
help
- Enables the driver for the internal PC CMOS clock (mostly unreliable)
+ Enables the driver for the internal PC CMOS clock. This clock
+ is mostly unreliable, but suitable as a fall back time source.
config NTP_MSFEES
bool
prompt "EES M201 MSF receiver"
- default y
config NTP_MX4200
bool
@@ -116,12 +103,10 @@ config NTP_MX4200
config NTP_NEOCLOCK4X
bool
prompt "NeoClock4X DCF77 / TDF receiver"
- default y
config NTP_NMEA
bool
prompt "NMEA GPS receiver"
- default y
config NTP_ONCORE
bool
@@ -134,12 +119,10 @@ config NTP_PALISADE
config NTP_PCF
bool
prompt "Conrad parallel port radio clock"
- default y
config NTP_PST
bool
prompt "PST/Traconex 1020 WWV/WWVH receiver"
- default y
config NTP_PTBACTS
bool
@@ -156,7 +139,6 @@ config NTP_SHM
config NTP_SPECTRACOM
bool
prompt "Spectracom 8170/Netclock/2 WWVB receiver"
- default y
config NTP_TPRO
bool
@@ -166,7 +148,6 @@ config NTP_TPRO
config NTP_TRAK
bool
prompt "TRAK 8810 GPS receiver"
- default y
config NTP_TRUETIME
bool
@@ -180,7 +161,6 @@ config NTP_TT560
config NTP_ULINK
bool
prompt "Ultralink WWVB receiver"
- default y
config NTP_USNO
bool
@@ -193,6 +173,7 @@ config NTP_WWV
config NTP_ZYFER
bool
prompt "Zyfer GPStarplus receiver"
- default y
+
+endmenu
endif
diff --git a/rules/ntp_parse.in b/rules/ntp_parse.in
index 944522ee9..a8f883293 100644
--- a/rules/ntp_parse.in
+++ b/rules/ntp_parse.in
@@ -2,12 +2,9 @@
# --- PARSE clocks ---
-menuconfig NTP_PARSE_CLOCKS
- bool
- prompt "select PARSE clock drivers "
- depends on NTP_SELECT_CLOCK_DRIVERS
+if !NTP_ALL_CLOCK_DRIVERS
-if NTP_PARSE_CLOCKS
+menu "select PARSE clock drivers "
config NTP_COMPUTIME
bool
@@ -29,7 +26,7 @@ config NTP_RAWDCF
bool
prompt "DCF77 raw time code"
help
- Enables the driver for a simple DCF77 forwarded to a UART port.
+ Enables the driver for a simple DCF77 signal forwarded to a UART port.
config NTP_RCC8000
bool
@@ -55,4 +52,6 @@ config NTP_VARITEXT
bool
prompt "VARITEXT clock"
+endmenu
+
endif