summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorchenyong <[email protected]>2018-11-14 18:26:53 +0800
committerchenyong <[email protected]>2018-11-14 18:26:53 +0800
commit739e8a8438542cac93dd14a26362e3c3dd031637 (patch)
tree7ba9297595435b1022e50d4630a8a33b36fb0459 /components
parent420478a0528071030f8c086b03b65a75ad707ab4 (diff)
[drivers] Modify RTC_SYNC_USING_NTP depends on PKG_NETUTILS_NTP
Signed-off-by: chenyong <[email protected]>
Diffstat (limited to 'components')
-rwxr-xr-xcomponents/drivers/Kconfig5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index 824b3e00da..f3b814fa08 100755
--- a/components/drivers/Kconfig
+++ b/components/drivers/Kconfig
@@ -118,9 +118,8 @@ config RT_USING_RTC
default n
config RTC_SYNC_USING_NTP
bool "Using NTP auto sync RTC time"
- select PKG_USING_NETUTILS
- select PKG_NETUTILS_NTP
- default n
+ depends on PKG_NETUTILS_NTP
+ default y
if RTC_SYNC_USING_NTP
config RTC_NTP_FIRST_SYNC_DELAY