diff options
author | Nicolas Thill <nico@openwrt.org> | 2010-04-23 04:08:26 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2010-04-23 04:08:26 +0000 |
commit | 9d7068ebdc5b1d5ced97fc8bd9bdabe4d3d32a99 (patch) | |
tree | ef61f31df78882740f0938d991254052974b69d5 /package/kernel/modules/001-depends.mk | |
parent | 5034b75865a98d32655a36b9dfb5d88b75352681 (diff) | |
download | upstream-9d7068ebdc5b1d5ced97fc8bd9bdabe4d3d32a99.tar.gz upstream-9d7068ebdc5b1d5ced97fc8bd9bdabe4d3d32a99.tar.bz2 upstream-9d7068ebdc5b1d5ced97fc8bd9bdabe4d3d32a99.zip |
package/kernel: use macros for kmod-rfkill depends
SVN-Revision: 21102
Diffstat (limited to 'package/kernel/modules/001-depends.mk')
-rw-r--r-- | package/kernel/modules/001-depends.mk | 10 |
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 |