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 4adb83c754.
This commit is contained in:
Gregory Nutt 2020-06-24 14:36:52 -06:00 committed by Brennan Ashton
parent 4ae186d89a
commit 192273da2e

View File

@ -259,8 +259,8 @@ config NSH_DISABLE_CMP
config NSH_DISABLE_DATE config NSH_DISABLE_DATE
bool "Disable date" bool "Disable date"
default y if DEFAULT_SMALL default n if RTC
default n if !DEFAULT_SMALL default y if !RTC
config NSH_DISABLE_DD config NSH_DISABLE_DD
bool "Disable dd" bool "Disable dd"