2f5a50ff7a8f6f8e5edfb9335553d2e500cc3a4e
[openwrt.git] / package / kernel / modules.mk
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9
10 define KernelPackage/crypto
11 TITLE:=CryptoAPI modules
12 DESCRIPTION:=CryptoAPI modules
13 KCONFIG:= \
14 $(CONFIG_CRYPTO_HMAC) \
15 $(CONFIG_CRYPTO_NULL) \
16 $(CONFIG_CRYPTO_MD4) \
17 $(CONFIG_CRYPTO_MD5) \
18 $(CONFIG_CRYPTO_SHA1) \
19 $(CONFIG_CRYPTO_SHA256) \
20 $(CONFIG_CRYPTO_SHA512) \
21 $(CONFIG_CRYPTO_WP512) \
22 $(CONFIG_CRYPTO_TGR192) \
23 $(CONFIG_CRYPTO_DES) \
24 $(CONFIG_CRYPTO_BLOWFISH) \
25 $(CONFIG_CRYPTO_TWOFISH) \
26 $(CONFIG_CRYPTO_SERPENT) \
27 $(CONFIG_CRYPTO_AES) \
28 $(CONFIG_CRYPTO_CAST5) \
29 $(CONFIG_CRYPTO_CAST6) \
30 $(CONFIG_CRYPTO_TEA) \
31 $(CONFIG_CRYPTO_ARC4) \
32 $(CONFIG_CRYPTO_KHAZAD) \
33 $(CONFIG_CRYPTO_ANUBIS) \
34 $(CONFIG_CRYPTO_DEFLATE) \
35 $(CONFIG_CRYPTO_MICHAEL_MIC) \
36 $(CONFIG_CRYPTO_CRC32C)
37 FILES:=$(MODULES_DIR)/kernel/crypto/*.$(LINUX_KMOD_SUFFIX)
38 endef
39 $(eval $(call KernelPackage,crypto))
40
41 define KernelPackage/ide-core
42 TITLE:=Kernel support for IDE
43 DESCRIPTION:=Kernel modules for IDE support\\\
44 useful for usb mass storage devices (e.g. on WL-HDD)\\\
45 \\\
46 Includes: \\\
47 - ide-core \\\
48 - ide-detect \\\
49 - ide-disk \\\
50 - pdc202xx_old
51 KCONFIG:=$(CONFIG_IDE)
52 FILES:=$(MODULES_DIR)/kernel/drivers/ide/*.$(LINUX_KMOD_SUFFIX)
53 AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-detect ide-disk)
54 endef
55 $(eval $(call KernelPackage,ide-core))
56
57 define KernelPackage/ide-pdc202xx
58 TITLE:=PDC202xx IDE driver
59 DESCRIPTION:=PDC202xx IDE driver
60 KCONFIG:=$(CONFIG_BLK_DEV_PDC202XX_OLD)
61 FILES:=$(MODULES_DIR)/kernel/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
62 AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
63 endef
64 $(eval $(call KernelPackage,ide-pdc202xx))
65
66 NFMENU:=Netfilter Extensions
67
68 define KernelPackage/ipt-conntrack
69 TITLE:=Modules for connection tracking
70 DESCRIPTION:=Netfilter (IPv4) kernel modules for connection tracking\\\
71 Includes: \\\
72 * ipt_conntrack \\\
73 * ipt_helper \\\
74 * ipt_connmark/CONNMARK
75 SUBMENU:=$(NFMENU)
76 FILES:=$(foreach mod,$(IPT_CONNTRACK-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
77 endef
78 $(eval $(call KernelPackage,ipt-conntrack))
79
80
81 define KernelPackage/ipt-filter
82 TITLE:=Modules for packet content inspection
83 DESCRIPTION:=Netfilter (IPv4) kernel modules for packet content inspection \\\
84 Includes: \\\
85 * ipt_ipp2p \\\
86 * ipt_layer7
87 SUBMENU:=$(NFMENU)
88 FILES:=$(foreach mod,$(IPT_FILTER-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
89 endef
90 $(eval $(call KernelPackage,ipt-filter))
91
92
93 define KernelPackage/ipt-ipopt
94 TITLE:=Modules for matching/changing IP packet options
95 DESCRIPTION:=Netfilter (IPv4) modules for matching/changing IP packet options \\\
96 Includes: \\\
97 * ipt_dscp/DSCP \\\
98 * ipt_ecn/ECN \\\
99 * ipt_length \\\
100 * ipt_mac \\\
101 * ipt_tos/TOS \\\
102 * ipt_tcpmms \\\
103 * ipt_ttl/TTL \\\
104 * ipt_unclean
105 SUBMENU:=$(NFMENU)
106 FILES:=$(foreach mod,$(IPT_IPOPT-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
107 endef
108 $(eval $(call KernelPackage,ipt-ipopt))
109
110
111 define KernelPackage/ipt-ipsec
112 TITLE:=Modules for matching IPSec packets
113 DESCRIPTION:=Netfilter (IPv4) modules for matching IPSec packets \\\
114 Includes: \\\
115 * ipt_ah \\\
116 * ipt_esp
117 SUBMENU:=$(NFMENU)
118 FILES:=$(foreach mod,$(IPT_IPSEC-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
119 endef
120 $(eval $(call KernelPackage,ipt-ipsec))
121
122
123 define KernelPackage/ipt-nat
124 TITLE:=Modules for extra NAT targets
125 DESCRIPTION:=Netfilter (IPv4) modules for extra NAT targets \\\
126 Includes: \\\
127 * ipt_REDIRECT \\\
128 * ipt_NETMAP
129 SUBMENU:=$(NFMENU)
130 FILES:=$(foreach mod,$(IPT_NAT-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
131 endef
132 $(eval $(call KernelPackage,ipt-nat))
133
134 define KernelPackage/ipt-nathelper
135 TITLE:=Extra Conntrack and NAT helpers
136 DESCRIPTION:=Extra Conntrack and NAT helpers (IPv4) \\\
137 Includes: \\\
138 * ip_conntrack_amanda \\\
139 * ip_conntrack_proto_gre \\\
140 * ip_nat_proto_gre \\\
141 * ip_conntrack_pptp \\\
142 * ip_nat_pptp \\\
143 * ip_conntrack_sip \\\
144 * ip_nat_sip \\\
145 * ip_nat_snmp_basic \\\
146 * ip_conntrack_tftp
147 SUBMENU:=$(NFMENU)
148 FILES:=$(foreach mod,$(IPT_NAT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
149 endef
150 $(eval $(call KernelPackage,ipt-nathelper))
151
152 define KernelPackage/ipt-imq
153 TITLE:=Intermediate Queueing support
154 DESCRIPTION:=Kernel support for Intermediate Queueing devices
155 KCONFIG:=$(CONFIG_IP_NF_TARGET_IMQ)
156 SUBMENU:=$(NFMENU)
157 FILES:=$(MODULES_DIR)/kernel/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/drivers/net/imq.$(LINUX_KMOD_SUFFIX)
158 endef
159 $(eval $(call KernelPackage,ipt-imq))
160
161
162 define KernelPackage/ipt-queue
163 TITLE:=Module for user-space packet queueing
164 DESCRIPTION:=Netfilter (IPv4) module for user-space packet queueing \\\
165 Includes: \\\
166 * ipt_QUEUE
167 SUBMENU:=$(NFMENU)
168 FILES:=$(foreach mod,$(IPT_QUEUE-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
169 endef
170 $(eval $(call KernelPackage,ipt-queue))
171
172 define KernelPackage/ipt-ulog
173 TITLE:=Module for user-space packet logging
174 DESCRIPTION:=Netfilter (IPv4) module for user-space packet logging \\\
175 Includes: \\\
176 * ipt_ULOG
177 SUBMENU:=$(NFMENU)
178 FILES:=$(foreach mod,$(IPT_ULOG-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
179 endef
180 $(eval $(call KernelPackage,ipt-ulog))
181
182 define KernelPackage/ipt-extra
183 TITLE:=Extra modules
184 DESCRIPTION:=Other Netfilter (IPv4) kernel modules\\\
185 Includes: \\\
186 * ipt_limit \\\
187 * ipt_owner \\\
188 * ipt_physdev \\\
189 * ipt_pkttype \\\
190 * ipt_recent
191 SUBMENU:=$(NFMENU)
192 FILES:=$(foreach mod,$(IPT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
193 endef
194 $(eval $(call KernelPackage,ipt-extra))
195
196 define KernelPackage/ip6tables
197 TITLE:=IPv6 modules
198 DESCRIPTION:=Netfilter IPv6 firewalling support
199 SUBMENU:=$(NFMENU)
200 FILES:=$(MODULES_DIR)/kernel/net/ipv6/netfilter/ip*.$(LINUX_KMOD_SUFFIX)
201 endef
202 $(eval $(call KernelPackage,ip6tables))
203
204
205 define KernelPackage/arptables
206 TITLE:=ARP firewalling modules
207 DESCRIPTION:=Kernel modules for ARP firewalling
208 SUBMENU:=$(NFMENU)
209 FILES:=$(MODULES_DIR)/kernel/net/ipv4/netfilter/arp*.$(LINUX_KMOD_SUFFIX)
210 KCONFIG:=$(CONFIG_IP_NF_ARPTABLES)
211 endef
212 $(eval $(call KernelPackage,arptables))
213
214
215 define KernelPackage/ebtables
216 TITLE:=Bridge firewalling modules
217 DESCRIPTION:=Kernel modules for Ethernet Bridge firewalling
218 SUBMENU:=$(NFMENU)
219 FILES:=$(MODULES_DIR)/kernel/net/bridge/netfilter/*.$(LINUX_KMOD_SUFFIX)
220 KCONFIG:=$(CONFIG_BRIDGE_NF_EBTABLES)
221 endef
222 $(eval $(call KernelPackage,ebtables))
223
224
This page took 0.048167 seconds and 3 git commands to generate.