1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 20:04:05 +02:00

kernel: remove the dummy kmod-rtc-core-* package, make all rtc drivers depend on @RTC_SUPPORT - prevent RTC support from leaking into kernels for targets that do not need this

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31778 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-05-17 15:28:13 +00:00
parent 34f1bc2fb3
commit 1a4d57d959
2 changed files with 1 additions and 31 deletions

View File

@ -33,7 +33,5 @@ endef
define AddDepends/rtc define AddDepends/rtc
DEPENDS+= \ DEPENDS+= @RTC_SUPPORT
+(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39):kmod-rtc-core-2.6 \
+!(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39):kmod-rtc-core-3.x
endef endef

View File

@ -736,34 +736,6 @@ endef
$(eval $(call KernelPackage,pwm-gpio)) $(eval $(call KernelPackage,pwm-gpio))
define KernelPackage/rtc-core-2.6
SUBMENU:=$(OTHER_MENU)
DEPENDS:=@(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39)
TITLE:=Real Time Clock class support
KCONFIG:=CONFIG_RTC_CLASS
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.ko
AUTOLOAD:=$(call AutoLoad,29,rtc-core)
endef
define KernelPackage/rtc-core-2.6/description
Generic RTC class support.
endef
$(eval $(call KernelPackage,rtc-core-2.6))
define KernelPackage/rtc-core-3.x
SUBMENU:=$(OTHER_MENU)
DEPENDS:=@!(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39)
TITLE:=Real Time Clock class support
KCONFIG:=CONFIG_RTC_CLASS=y
endef
define KernelPackage/rtc-core-3.x/description
Generic RTC class support.
endef
$(eval $(call KernelPackage,rtc-core-3.x))
define KernelPackage/rtc-pcf8563 define KernelPackage/rtc-pcf8563
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)
TITLE:=Philips PCF8563/Epson RTC8564 RTC support TITLE:=Philips PCF8563/Epson RTC8564 RTC support