aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/other.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r--package/kernel/modules/other.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 5d156cc58d..79ec190843 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -885,11 +885,13 @@ define KernelPackage/rtc-core
DEPENDS:=@LINUX_2_6
KCONFIG:= \
CONFIG_RTC_CLASS \
+ CONFIG_RTC_LIB
CONFIG_RTC_HCTOSYS=y \
CONFIG_RTC_HCTOSYS_DEVICE=rtc0
FILES:= \
- $(LINUX_DIR)/drivers/rtc/rtc-core.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,30,rtc-core)
+ $(LINUX_DIR)/drivers/rtc/rtc-core.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/rtc/rtc-lib.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,30,rtc-lib rtc-core)
endef
define KernelPackage/rtc-core/description