diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-27 19:37:57 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-27 19:37:57 +0000 |
commit | 475b212867ee731a1b16f5c40eab2f72f1444605 (patch) | |
tree | 105c6af9e7a75b9ed530c2cbd2d0cd3897cb8569 /package/kernel/modules/001-depends.mk | |
parent | b5219fd99fa5ac8c3ee2a3a3f8068f4c2b60aa62 (diff) | |
download | upstream-475b212867ee731a1b16f5c40eab2f72f1444605.tar.gz upstream-475b212867ee731a1b16f5c40eab2f72f1444605.tar.bz2 upstream-475b212867ee731a1b16f5c40eab2f72f1444605.zip |
package/kernel: allow to build RTC modules for 3.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31105 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/001-depends.mk')
-rw-r--r-- | package/kernel/modules/001-depends.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/kernel/modules/001-depends.mk b/package/kernel/modules/001-depends.mk index 407f873a5e..a52794b972 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 |