package/kernel: use macros for kmod-rfkill depends
[openwrt.git] / package / kernel / modules / 001-depends.mk
index 2446d3e..826734e 100644 (file)
@@ -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
This page took 0.024366 seconds and 4 git commands to generate.