From: Felix Fietkau Date: Fri, 22 Jan 2016 12:02:11 +0000 (+0000) Subject: kernel: Add kernel module for Freescale SNVS RTC on chip module X-Git-Tag: reboot~679 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=19e2d1ed35714b531a8b201b01adda471061b322;p=openwrt%2Fstaging%2Fnoltari.git kernel: Add kernel module for Freescale SNVS RTC on chip module Signed-off-by: Petr Štetiar SVN-Revision: 48454 --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index b244fbe538..528d32f0b7 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -666,6 +666,22 @@ endef $(eval $(call KernelPackage,rtc-pt7c4338)) +define KernelPackage/rtc-snvs + SUBMENU:=$(OTHER_MENU) + TITLE:=Freescale SNVS RTC support + DEPENDS:=@TARGET_imx6 @RTC_SUPPORT + KCONFIG:=CONFIG_RTC_DRV_SNVS \ + CONFIG_RTC_CLASS=y + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-snvs.ko + AUTOLOAD:=$(call AutoLoad,50,rtc-snvs,1) +endef + +define KernelPackage/rtc-snvs/description + Kernel module for Freescale SNVS RTC on chip module +endef + +$(eval $(call KernelPackage,rtc-snvs)) + define KernelPackage/mtdtests SUBMENU:=$(OTHER_MENU)