summaryrefslogtreecommitdiff
path: root/package/kernel/modules/001-depends.mk
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-27 19:37:57 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-27 19:37:57 +0000
commitddc784694b5de64c71ea6aab75b079084da7ddc8 (patch)
treeacd5283cbbaa39844d8444ad674b317d49cf29a3 /package/kernel/modules/001-depends.mk
parente28cd648b7d257a7291416292bde05fe43f975c7 (diff)
downloadmtk-20170518-ddc784694b5de64c71ea6aab75b079084da7ddc8.zip
mtk-20170518-ddc784694b5de64c71ea6aab75b079084da7ddc8.tar.gz
mtk-20170518-ddc784694b5de64c71ea6aab75b079084da7ddc8.tar.bz2
package/kernel: allow to build RTC modules for 3.x
SVN-Revision: 31105
Diffstat (limited to 'package/kernel/modules/001-depends.mk')
-rw-r--r--package/kernel/modules/001-depends.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/kernel/modules/001-depends.mk b/package/kernel/modules/001-depends.mk
index 407f873..a52794b 100644
--- a/package/kernel/modules/001-depends.mk
+++ b/package/kernel/modules/001-depends.mk
@@ -30,3 +30,10 @@ endef
define AddDepends/rfkill
DEPENDS+= +(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86):kmod-rfkill $(1)
endef
+
+
+define AddDepends/rtc
+ 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):kmod-rtc-core-2.6 \
+ +!(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):kmod-rtc-core-3.x
+endef