X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a0b9641a8f6bd889eec68a7f212460d47ff4e877..d0c7c3d907e163bc165785683c7da8b72d46104f:/package/kernel/modules/001-depends.mk diff --git a/package/kernel/modules/001-depends.mk b/package/kernel/modules/001-depends.mk index 407f873a5..a52794b97 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