summaryrefslogtreecommitdiff
path: root/package/kernel/modules/001-depends.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/modules/001-depends.mk')
-rw-r--r--package/kernel/modules/001-depends.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/kernel/modules/001-depends.mk b/package/kernel/modules/001-depends.mk
index 2446d3e4b9..826734ec9b 100644
--- a/package/kernel/modules/001-depends.mk
+++ b/package/kernel/modules/001-depends.mk
@@ -14,3 +14,13 @@ endef
define AddDepends/crc16
DEPENDS+= +!TARGET_xburst:kmod-crc16
endef
+
+
+define SetDepends/rfkill
+ DEPENDS:= @(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86)
+endef
+
+define AddDepends/rfkill
+ DEPENDS+= +(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86):kmod-rfkill
+
+endef