[PATCH 2/4] rtc: select GREGORIAN_CALENDER

Lucas Stach l.stach at pengutronix.de
Thu Nov 27 07:54:18 PST 2014


Fixes:
drivers/rtc/rtc-lib.c:109: undefined reference to `mktime'

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 drivers/rtc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 957fee73f8eb..191ad97fb825 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -4,6 +4,7 @@
 
 config RTC_LIB
 	bool
+	select GREGORIAN_CALENDER
 
 menuconfig RTC_CLASS
 	bool "Real Time Clock"
-- 
2.1.3




More information about the barebox mailing list