From 6c2527497e0eddc8a2968952ed605a7a21d3c00c Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sat, 24 Apr 2010 11:01:06 +0000 Subject: package/kernel: use macros for hid & input git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21120 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/001-depends.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'package/kernel/modules/001-depends.mk') 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 -- cgit v1.2.3