From 192273da2ea27cad391e4ed498e2dce560fc35de Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 24 Jun 2020 14:36:52 -0600 Subject: [PATCH] Revert "nshlib: remove the dependency of date on RTC" This is a bad change. It has been show to cause an increase in size by around 2.3Kb in minimal configurations that cannot tolerate that massive size increase. This reverts commit 4adb83c754500cfebe4c24a498eb4139e3ff8866. --- nshlib/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nshlib/Kconfig b/nshlib/Kconfig index 27f27d93c..6c74b4465 100644 --- a/nshlib/Kconfig +++ b/nshlib/Kconfig @@ -259,8 +259,8 @@ config NSH_DISABLE_CMP config NSH_DISABLE_DATE bool "Disable date" - default y if DEFAULT_SMALL - default n if !DEFAULT_SMALL + default n if RTC + default y if !RTC config NSH_DISABLE_DD bool "Disable dd"