diff options
author | Nicolas Thill <nico@openwrt.org> | 2010-04-24 11:01:06 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2010-04-24 11:01:06 +0000 |
commit | e9dcaa6a1394c41d34ab2db49eb8e7df52347130 (patch) | |
tree | b27095d4d9b860f99c1580feabbc25f2ccd50662 /package/kernel/modules/001-depends.mk | |
parent | d0883b82a4fa79346d299dd87c0f39668275883e (diff) | |
download | upstream-e9dcaa6a1394c41d34ab2db49eb8e7df52347130.tar.gz upstream-e9dcaa6a1394c41d34ab2db49eb8e7df52347130.tar.bz2 upstream-e9dcaa6a1394c41d34ab2db49eb8e7df52347130.zip |
package/kernel: use macros for hid & input
SVN-Revision: 21120
Diffstat (limited to 'package/kernel/modules/001-depends.mk')
-rw-r--r-- | package/kernel/modules/001-depends.mk | 19 |
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 |