2 # Copyright (C) 2010-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 define AddDepends
/crc16
9 DEPENDS
+= +kmod-lib-crc16
$(1)
13 DEPENDS
+= +kmod-hid
$(1)
16 define AddDepends
/input
17 DEPENDS
+= +kmod-input-core
$(1)
22 DEPENDS
+= +kmod-nls-base
$(foreach cp
,$(1),+kmod-nls-
$(cp
))
26 define SetDepends
/rfkill
27 DEPENDS
:= @
(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86||TARGET_gemini
)
30 define AddDepends
/rfkill
31 DEPENDS
+= +(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86
):kmod-rfkill
$(1)
37 +(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39
):kmod-rtc-core-2.6 \
38 +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39
):kmod-rtc-core-3.x