fix bluetooth module packaging
[openwrt.git] / package / kernel / modules / network.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 NSMENU:=Network Support
10
11 define KernelPackage/atm
12 TITLE:=ATM support
13 DEPENDS:=@ATM_SUPPORT
14 DESCRIPTION:= \
15 Kernel modules for ATM support
16 FILES:= \
17 $(MODULES_DIR)/kernel/net/atm/atm.$(LINUX_KMOD_SUFFIX) \
18 $(MODULES_DIR)/kernel/net/atm/br2684.$(LINUX_KMOD_SUFFIX)
19 KCONFIG:=$(CONFIG_ATM)
20 SUBMENU:=$(NSMENU)
21 AUTOLOAD:=$(call AutoLoad,30,atm)
22 endef
23 $(eval $(call KernelPackage,atm))
24
25 define KernelPackage/atmtcp
26 TITLE:=ATM over TCP
27 DESCRIPTION:= \
28 Kernel module for ATM over TCP support
29 DEPENDS:=@LINUX_2_6 kmod-atm
30 FILES:=$(MODULES_DIR)/kernel/drivers/atm/atmtcp.$(LINUX_KMOD_SUFFIX)
31 KCONFIG:=$(CONFIG_ATM_TCP)
32 SUBMENU:=$(NSMENU)
33 AUTOLOAD:=$(call AutoLoad,40,atmtcp)
34 endef
35 $(eval $(call KernelPackage,atmtcp))
36
37
38 define KernelPackage/ipip
39 TITLE:=IP in IP encapsulation support
40 DESCRIPTION:=\
41 Kernel modules for IP in IP encapsulation
42 KCONFIG:=$(CONFIG_NET_IPIP)
43 SUBMENU:=$(NSMENU)
44 endef
45 $(eval $(call KernelPackage,ipip))
46
47 define KernelPackage/ipip/2.4
48 FILES:=$(MODULES_DIR)/kernel/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX)
49 AUTOLOAD:=$(call AutoLoad,30,ipip)
50 endef
51
52 define KernelPackage/ipip/2.6
53 FILES:= \
54 $(MODULES_DIR)/kernel/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) \
55 $(MODULES_DIR)/kernel/net/ipv4/tunnel4.$(LINUX_KMOD_SUFFIX)
56 AUTOLOAD:=$(call AutoLoad,30,ipip tunnel4)
57 endef
58
59
60 define KernelPackage/ipsec
61 TITLE:=IPsec related modules (IPv4 and IPv6)
62 DESCRIPTION:=\
63 Kernel modules for IPsec support in both IPv4 and IPv6.\\\
64 Includes:\\\
65 - af_key\\\
66 - xfrm_user
67 SUBMENU:=$(NSMENU)
68 DEPENDS:=@LINUX_2_6
69 KCONFIG:=$(CONFIG_NET_KEY)
70 FILES:= \
71 $(MODULES_DIR)/kernel/net/key/af_key.$(LINUX_KMOD_SUFFIX) \
72 $(MODULES_DIR)/kernel/net/xfrm/xfrm_user.$(LINUX_KMOD_SUFFIX)
73 endef
74 $(eval $(call KernelPackage,ipsec))
75
76 define KernelPackage/ipsec4
77 TITLE:=IPsec related modules (IPv4)
78 DESCRIPTION:=\
79 Kernel modules for IPsec support in IPv4.\\\
80 Includes:\\\
81 - ah4\\\
82 - esp4\\\
83 - ipcomp\\\
84 - xfrm4_tunnel
85 SUBMENU:=$(NSMENU)
86 KCONFIG:=$(CONFIG_INET_AH)
87 DEPENDS:=kmod-ipsec
88 FILES:= $(foreach mod,ah4 esp4 ipcomp xfrm4_tunnel, \
89 $(MODULES_DIR)/kernel/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \
90 )
91 endef
92 $(eval $(call KernelPackage,ipsec4))
93
94 define KernelPackage/ipsec6
95 TITLE:=IPsec related modules (IPv6)
96 DESCRIPTION:=\
97 Kernel modules for IPsec support in IPv6.\\\
98 Includes:\\\
99 - ah6\\\
100 - esp6\\\
101 - ipcomp6\\\
102 - xfrm6_tunnel
103 SUBMENU:=$(NSMENU)
104 KCONFIG:=$(CONFIG_INET6_AH)
105 DEPENDS:=kmod-ipsec
106 FILES:= $(foreach mod,ah6 esp6 ipcomp6 xfrm6_tunnel, \
107 $(MODULES_DIR)/kernel/net/ipv6/{ah6,esp6,ipcomp6,xfrm6_tunnel}.$(LINUX_KMOD_SUFFIX) \
108 )
109 endef
110 $(eval $(call KernelPackage,ipsec6))
111
112
113 define KernelPackage/ipv6
114 TITLE:=IPv6 support
115 DESCRIPTION:=\
116 Kernel modules for IPv6 support
117 KCONFIG:=$(CONFIG_IPV6)
118 FILES:=$(MODULES_DIR)/kernel/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
119 SUBMENU:=$(NSMENU)
120 endef
121 $(eval $(call KernelPackage,ipv6))
122
123
124 define KernelPackage/gre
125 TITLE:=GRE support
126 DESCRIPTION:=\
127 Generic Routing Encapsulation support
128 KCONFIG=$(CONFIG_NET_IPGRE)
129 FILES=$(MODULES_DIR)/kernel/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
130 SUBMENU:=$(NSMENU)
131 endef
132 $(eval $(call KernelPackage,gre))
133
134
135 define KernelPackage/tun
136 TITLE:=Universal TUN/TAP driver
137 DESCRIPTION:=\
138 Kernel support for the TUN/TAP tunneling device
139 KCONFIG:=$(CONFIG_TUN)
140 FILES:=$(MODULES_DIR)/kernel/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
141 SUBMENU:=$(NSMENU)
142 AUTOLOAD:=$(call AutoLoad,30,tun)
143 endef
144 $(eval $(call KernelPackage,tun))
145
146
147 define KernelPackage/ppp
148 TITLE:=PPP modules
149 DESCRIPTION:=\
150 Kernel modules for PPP support
151 KCONFIG:=$(CONFIG_PPP)
152 SUBMENU:=$(NSMENU)
153 endef
154
155 define KernelPackage/ppp/2.6
156 FILES:= \
157 $(MODULES_DIR)/kernel/drivers/net/ppp_async.ko \
158 $(MODULES_DIR)/kernel/drivers/net/ppp_generic.ko \
159 $(MODULES_DIR)/kernel/drivers/net/slhc.ko \
160 $(MODULES_DIR)/kernel/lib/crc-ccitt.ko
161 AUTOLOAD:=$(call AutoLoad,30,crc-ccitt)
162 endef
163
164 define KernelPackage/ppp/2.4
165 FILES:= \
166 $(MODULES_DIR)/kernel/drivers/net/ppp_async.o \
167 $(MODULES_DIR)/kernel/drivers/net/ppp_generic.o \
168 $(MODULES_DIR)/kernel/drivers/net/slhc.o
169 endef
170 $(eval $(call KernelPackage,ppp))
171
172
173 define KernelPackage/pppoe
174 TITLE:=PPPoE support
175 DESCRIPTION:=\
176 Kernel modules for PPPoE (PPP over Ethernet) support
177 DEPENDS:=kmod-ppp
178 KCONFIG:=$(CONFIG_PPPOE)
179 FILES:= \
180 $(MODULES_DIR)/kernel/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) \
181 $(MODULES_DIR)/kernel/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
182 SUBMENU:=$(NSMENU)
183 endef
184 $(eval $(call KernelPackage,pppoe))
185
186
187 define KernelPackage/pppoa
188 TITLE:=PPPoA support
189 DESCRIPTION:=\
190 Kernel modules for PPPoA (PPP over ATM) support
191 DEPENDS:=kmod-ppp
192 KCONFIG:=$(CONFIG_PPPOATM)
193 FILES:=$(MODULES_DIR)/kernel/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
194 SUBMENU:=$(NSMENU)
195 endef
196 $(eval $(call KernelPackage,pppoa))
197
198
199 define KernelPackage/mppe
200 TITLE:=Microsoft PPP compression/encryption
201 DESCRIPTION:=Kernel modules for Microsoft PPP compression/encryption
202 DEPENDS:=kmod-ppp
203 KCONFIG:=$(CONFIG_PPP_MPPE)
204 SUBMENU:=$(NSMENU)
205 endef
206
207 define KernelPackage/mppe/2.4
208 FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc.$(LINUX_KMOD_SUFFIX)
209 endef
210
211 define KernelPackage/mppe/2.6
212 FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_mppe.$(LINUX_KMOD_SUFFIX)
213 endef
214 $(eval $(call KernelPackage,mppe))
215
216
217 define KernelPackage/sched
218 TITLE:=Traffic schedulers
219 DESCRIPTION:=\
220 Kernel schedulers for IP traffic
221 FILES:=$(MODULES_DIR)/kernel/net/sched/*.$(LINUX_KMOD_SUFFIX)
222 SUBMENU:=$(NSMENU)
223 endef
224 $(eval $(call KernelPackage,sched))
225
226
227
228 define KernelPackage/ax25
229 TITLE:=AX25 support
230 DESCRIPTION:=Kernel modules for AX25 support
231 SUBMENU:=$(NSMENU)
232 KCONFIG:=$(CONFIG_AX25)
233 FILES:= \
234 $(MODULES_DIR)/kernel/net/ax25/ax25.$(LINUX_KMOD_SUFFIX) \
235 $(MODULES_DIR)/kernel/drivers/net/hamradio/mkiss.$(LINUX_KMOD_SUFFIX)
236 AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss)
237 endef
238 $(eval $(call KernelPackage,ax25))
239
240
241
242
243 NDMENU:=Network Devices
244
245 define KernelPackage/natsemi
246 TITLE:=National Semiconductor DP8381x series
247 DESCRIPTION:=\
248 Kernel modules for National Semiconductor DP8381x series PCI Ethernet \\\
249 adapters.
250 FILES:=$(MODULES_DIR)/kernel/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
251 KCONFIG:=$(CONFIG_NATSEMI)
252 DEPENDS:=@LINUX_2_6_X86
253 DEFAULT:=y
254 SUBMENU:=$(NDMENU)
255 AUTOLOAD:=$(call AutoLoad,20,natsemi)
256 endef
257 $(eval $(call KernelPackage,natsemi))
258
259 define KernelPackage/sis900
260 TITLE:=SiS 900 Ethernet support
261 DESCRIPTION:=\
262 Kernel modules for Sis 900 Ethernet adapters.
263 FILES:=$(MODULES_DIR)/kernel/drivers/net/sis900.$(LINUX_KMOD_SUFFIX)
264 KCONFIG:=$(CONFIG_SIS900)
265 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
266 SUBMENU:=$(NDMENU)
267 endef
268 $(eval $(call KernelPackage,sis900))
269
270 define KernelPackage/via-rhine
271 TITLE:=Via Rhine ethernet support
272 DESCRIPTION:=\
273 Kernel modules for Via Rhine Ethernet chipsets.
274 FILES:=$(MODULES_DIR)/kernel/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
275 KCONFIG:=$(CONFIG_VIA_RHINE)
276 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
277 SUBMENU:=$(NDMENU)
278 endef
279 $(eval $(call KernelPackage,via-rhine))
280
281 define KernelPackage/8139too
282 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
283 DESCRIPTION:=\
284 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
285 FILES:=$(MODULES_DIR)/kernel/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
286 KCONFIG:=$(CONFIG_8139TOO)
287 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
288 SUBMENU:=$(NDMENU)
289 endef
290 $(eval $(call KernelPackage,8139too))
291
292 define KernelPackage/e100
293 TITLE:=Intel(R) PRO/100+ cards kernel support
294 DESCRIPTION:=\
295 Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
296 FILES:=$(MODULES_DIR)/kernel/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
297 KCONFIG:=$(CONFIG_E100)
298 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
299 SUBMENU:=$(NDMENU)
300 endef
301 $(eval $(call KernelPackage,e100))
302
303 define KernelPackage/3c59x
304 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
305 DESCRIPTION:=\
306 This option enables driver support for a large number of 10mbps and \\\
307 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters: \\\
308 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI \\\
309 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI \\\
310 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus \\\
311 - "Tornado" (3c905) PCI \\\
312 - "Hurricane" (3c555/3cSOHO) PCI
313 FILES:=$(MODULES_DIR)/kernel/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
314 KCONFIG:=$(CONFIG_3C59X)
315 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
316 SUBMENU:=$(NDMENU)
317 endef
318 $(eval $(call KernelPackage,3c59x))
This page took 0.065348 seconds and 5 git commands to generate.