kernel: make sound-soc-core depend on kmod-ac97
[openwrt.git] / package / kernel / linux / modules / 001-depends.mk
1 #
2 # Copyright (C) 2010-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 define AddDepends/crc16
9   DEPENDS+= +kmod-lib-crc16 $(1)
10 endef
11
12 define AddDepends/hid
13   DEPENDS+= +kmod-hid $(1)
14 endef
15
16 define AddDepends/input
17   DEPENDS+= +kmod-input-core $(1)
18 endef
19
20
21 define AddDepends/nls
22   DEPENDS+= +kmod-nls-base $(foreach cp,$(1),+kmod-nls-$(cp))
23 endef
24
25 define AddDepends/rfkill
26   DEPENDS+= +USE_RFKILL:kmod-rfkill $(1)
27 endef
28
29
30 define AddDepends/rtc
31   DEPENDS+= @RTC_SUPPORT $(1)
32 endef