[package] uhttpd: pass feature flags (#9742)
[openwrt.git] / package / kernel / modules / 001-depends.mk
1 #
2 # Copyright (C) 2010 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 # XXX: xburst has CONFIG_CRC16=y because of CONFIG_UBIFS_FS=y
9
10 define SetDepends/crc16
11 DEPENDS:= @!TARGET_xburst
12 endef
13
14 define AddDepends/crc16
15 DEPENDS+= +!TARGET_xburst:kmod-crc16 $(1)
16 endef
17
18
19 define SetDepends/hid
20 DEPENDS:= @!TARGET_x86
21 endef
22
23 define AddDepends/hid
24 DEPENDS+= +!TARGET_x86:kmod-hid $(1)
25
26 endef
27
28
29 define SetDepends/input
30 DEPENDS:= @!TARGET_x86
31 endef
32
33 define AddDepends/input
34 DEPENDS+= +!TARGET_x86:kmod-input-core $(1)
35 endef
36
37
38 define SetDepends/rfkill
39 DEPENDS:= @(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86||TARGET_gemini)
40 endef
41
42 define AddDepends/rfkill
43 DEPENDS+= +(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86):kmod-rfkill $(1)
44 endef
This page took 0.053319 seconds and 5 git commands to generate.