2010-04-23 04:01:03 +00:00
|
|
|
#
|
2011-10-28 13:11:06 +00:00
|
|
|
# Copyright (C) 2010-2011 OpenWrt.org
|
2010-04-23 04:01:03 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
define AddDepends/crc16
|
2011-10-28 13:24:41 +00:00
|
|
|
DEPENDS+= +kmod-lib-crc16 $(1)
|
2010-04-24 11:01:06 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define AddDepends/hid
|
2011-10-28 13:11:06 +00:00
|
|
|
DEPENDS+= +kmod-hid $(1)
|
2010-04-24 11:01:06 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define AddDepends/input
|
2011-10-28 13:11:06 +00:00
|
|
|
DEPENDS+= +kmod-input-core $(1)
|
2010-04-24 11:01:06 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
|
2011-10-29 15:03:56 +00:00
|
|
|
define AddDepends/nls
|
|
|
|
DEPENDS+= +kmod-nls-base $(foreach cp,$(1),+kmod-nls-$(cp))
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
2010-04-23 04:08:26 +00:00
|
|
|
define SetDepends/rfkill
|
2011-02-12 19:39:55 +00:00
|
|
|
DEPENDS:= @(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86||TARGET_gemini)
|
2010-04-23 04:08:26 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define AddDepends/rfkill
|
2010-04-24 12:29:50 +00:00
|
|
|
DEPENDS+= +(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86):kmod-rfkill $(1)
|
2010-04-23 04:08:26 +00:00
|
|
|
endef
|
2012-03-27 19:37:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
define AddDepends/rtc
|
2012-05-17 15:28:13 +00:00
|
|
|
DEPENDS+= @RTC_SUPPORT
|
2012-03-27 19:37:57 +00:00
|
|
|
endef
|