2010-04-23 12:01:03 +08:00
|
|
|
#
|
2011-10-28 21:11:06 +08:00
|
|
|
# Copyright (C) 2010-2011 OpenWrt.org
|
2010-04-23 12:01:03 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
define AddDepends/crc16
|
2011-10-28 21:24:41 +08:00
|
|
|
DEPENDS+= +kmod-lib-crc16 $(1)
|
2010-04-24 19:01:06 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define AddDepends/hid
|
2011-10-28 21:11:06 +08:00
|
|
|
DEPENDS+= +kmod-hid $(1)
|
2010-04-24 19:01:06 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define AddDepends/input
|
2011-10-28 21:11:06 +08:00
|
|
|
DEPENDS+= +kmod-input-core $(1)
|
2010-04-24 19:01:06 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
|
2011-10-29 23:03:56 +08:00
|
|
|
define AddDepends/nls
|
|
|
|
DEPENDS+= +kmod-nls-base $(foreach cp,$(1),+kmod-nls-$(cp))
|
|
|
|
endef
|
|
|
|
|
2010-04-23 12:08:26 +08:00
|
|
|
define AddDepends/rfkill
|
2013-07-21 19:55:30 +08:00
|
|
|
DEPENDS+= +USE_RFKILL:kmod-rfkill $(1)
|
2010-04-23 12:08:26 +08:00
|
|
|
endef
|
2012-03-28 03:37:57 +08:00
|
|
|
|
|
|
|
|
|
|
|
define AddDepends/rtc
|
2013-07-20 06:27:31 +08:00
|
|
|
DEPENDS+= @RTC_SUPPORT $(1)
|
2012-03-28 03:37:57 +08:00
|
|
|
endef
|