diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-05-06 23:52:46 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-05-06 23:52:46 +0000 |
commit | 059438dc018c14715b0b9a32798fc6c39e7c8af6 (patch) | |
tree | 3bbd3e2148feda9f70d4b90cbd2d98034e0d19eb /package/kernel | |
parent | bf199cc318ddd4d211d733514bc509ac79874ebd (diff) | |
download | upstream-059438dc018c14715b0b9a32798fc6c39e7c8af6.tar.gz upstream-059438dc018c14715b0b9a32798fc6c39e7c8af6.tar.bz2 upstream-059438dc018c14715b0b9a32798fc6c39e7c8af6.zip |
package the rtc-core and rtc-m48t86 driver
SVN-Revision: 15647
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/modules/other.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 3b41e9d32d..5d156cc58d 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -878,3 +878,37 @@ endef $(eval $(call KernelPackage,rfkill)) + +define KernelPackage/rtc-core + SUBMENU:=$(OTHER_MENU) + TITLE:=Kernel support for RTC devices + DEPENDS:=@LINUX_2_6 + KCONFIG:= \ + CONFIG_RTC_CLASS \ + 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) +endef + +define KernelPackage/rtc-core/description + Kernel module for the RTC devices. +endef + +$(eval $(call KernelPackage,rtc-core)) + +define KernelPackage/rtc-m48t86 + SUBMENU:=$(OTHER_MENU) + TITLE:=RTC M48T86 / Dallas DS12887 + DEPENDS:=+kmod-rtc-core + KCONFIG:=CONFIG_RTC_DRV_M48T86 + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-m48t86.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,31,rtc-m48t86) +endef + +define KernelPackage/rtc-m48t86/description + Kernel support for the RTC device M48T86 / Dallas DS12887 +endef + +$(eval $(call KernelPackage,rtc-m48t86)) |