package/kernel: invert dependencies for current kernel features

Instead of depending on new kernel versions, depend on not having one
of the older ones (or vice versa for modules removed in current kernels).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27934 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Jonas Gorski
2011-08-09 12:19:27 +00:00
parent b7bb702e2a
commit 4fad9a20d2
4 changed files with 7 additions and 7 deletions

View File

@@ -732,7 +732,7 @@ $(eval $(call KernelPackage,pwm-gpio))
define KernelPackage/rtc-core
SUBMENU:=$(OTHER_MENU)
DEPENDS:=@(!LINUX_3_0||BROKEN)
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
TITLE:=Real Time Clock class support
KCONFIG:=CONFIG_RTC_CLASS
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.ko