sunxi: move rtc off to module
[openwrt/staging/florian.git] / target / linux / sunxi / modules.mk
1 #
2 # Copyright (C) 2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6
7 define KernelPackage/rtc-sunxi
8 SUBMENU:=$(OTHER_MENU)
9 TITLE:=Sunxi SoC built-in RTC support
10 DEPENDS:=@TARGET_sunxi
11 $(call AddDepends/rtc)
12 KCONFIG:= \
13 CONFIG_RTC_CLASS=y \
14 CONFIG_RTC_DRV_SUNXI=m
15 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-sunxi.ko
16 AUTOLOAD:=$(call AutoLoad,50,rtc-sunxi)
17 endef
18
19 define KernelPackage/rtc-sunxi/description
20 Support for the AllWinner sunXi SoC's onboard RTC
21 endef
22
23 $(eval $(call KernelPackage,rtc-sunxi))
24