add missing rtc-lib module to rtc-core
authorFlorian Fainelli <florian@openwrt.org>
Thu, 7 May 2009 00:21:08 +0000 (00:21 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 7 May 2009 00:21:08 +0000 (00:21 +0000)
SVN-Revision: 15648

package/kernel/modules/other.mk

index 5d156cc..79ec190 100644 (file)
@@ -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