mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[package] kernel: only depend on kmod-rtc-core if its provided by the used Kernel version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30716 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -751,7 +751,7 @@ $(eval $(call KernelPackage,rtc-core))
|
|||||||
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
|
||||||
DEPENDS:=+kmod-rtc-core
|
DEPENDS:=+(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39||BROKEN):kmod-rtc-core
|
||||||
KCONFIG:=CONFIG_RTC_DRV_PCF8563
|
KCONFIG:=CONFIG_RTC_DRV_PCF8563
|
||||||
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
|
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
|
AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
|
||||||
@@ -768,7 +768,7 @@ $(eval $(call KernelPackage,rtc-pcf8563))
|
|||||||
define KernelPackage/rtc-pcf2123
|
define KernelPackage/rtc-pcf2123
|
||||||
SUBMENU:=$(OTHER_MENU)
|
SUBMENU:=$(OTHER_MENU)
|
||||||
TITLE:=Philips PCF2123 RTC support
|
TITLE:=Philips PCF2123 RTC support
|
||||||
DEPENDS:=+kmod-rtc-core
|
DEPENDS:=+(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39||BROKEN):kmod-rtc-core
|
||||||
KCONFIG:=CONFIG_RTC_DRV_PCF2123
|
KCONFIG:=CONFIG_RTC_DRV_PCF2123
|
||||||
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
|
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,60,rtc-pcf2123)
|
AUTOLOAD:=$(call AutoLoad,60,rtc-pcf2123)
|
||||||
|
|||||||
Reference in New Issue
Block a user