aboutsummaryrefslogtreecommitdiffstats
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.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/kernel/modules/001-depends.mk b/package/kernel/modules/001-depends.mk
index 826734ec9b..5cb3412081 100644
--- a/package/kernel/modules/001-depends.mk
+++ b/package/kernel/modules/001-depends.mk
@@ -16,6 +16,25 @@ define AddDepends/crc16
endef
+define SetDepends/hid
+ DEPENDS:= @!TARGET_x86
+endef
+
+define AddDepends/hid
+ DEPENDS+= +!TARGET_x86:kmod-hid
+
+endef
+
+
+define SetDepends/input
+ DEPENDS:= @!TARGET_x86
+endef
+
+define AddDepends/input
+ DEPENDS+= +!TARGET_x86:kmod-input-core
+endef
+
+
define SetDepends/rfkill
DEPENDS:= @(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86)
endef