From 9d7068ebdc5b1d5ced97fc8bd9bdabe4d3d32a99 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 23 Apr 2010 04:08:26 +0000 Subject: package/kernel: use macros for kmod-rfkill depends SVN-Revision: 21102 --- package/kernel/modules/001-depends.mk | 10 ++++++++++ 1 file changed, 10 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 2446d3e..826734e 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 -- cgit v1.1