2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
10 define KernelPackage
/crypto
11 TITLE
:=CryptoAPI modules
13 $(CONFIG_CRYPTO_HMAC
) \
14 $(CONFIG_CRYPTO_NULL
) \
15 $(CONFIG_CRYPTO_MD4
) \
16 $(CONFIG_CRYPTO_MD5
) \
17 $(CONFIG_CRYPTO_SHA1
) \
18 $(CONFIG_CRYPTO_SHA256
) \
19 $(CONFIG_CRYPTO_SHA512
) \
20 $(CONFIG_CRYPTO_WP512
) \
21 $(CONFIG_CRYPTO_TGR192
) \
22 $(CONFIG_CRYPTO_DES
) \
23 $(CONFIG_CRYPTO_BLOWFISH
) \
24 $(CONFIG_CRYPTO_TWOFISH
) \
25 $(CONFIG_CRYPTO_SERPENT
) \
26 $(CONFIG_CRYPTO_AES
) \
27 $(CONFIG_CRYPTO_CAST5
) \
28 $(CONFIG_CRYPTO_CAST6
) \
29 $(CONFIG_CRYPTO_TEA
) \
30 $(CONFIG_CRYPTO_ARC4
) \
31 $(CONFIG_CRYPTO_KHAZAD
) \
32 $(CONFIG_CRYPTO_ANUBIS
) \
33 $(CONFIG_CRYPTO_DEFLATE
) \
34 $(CONFIG_CRYPTO_MICHAEL_MIC
) \
35 $(CONFIG_CRYPTO_CRC32C
)
36 FILES
:=$(MODULES_DIR
)/kernel
/crypto
/*.
$(LINUX_KMOD_SUFFIX
)
38 $(eval
$(call KernelPackage
,crypto
))
40 define KernelPackage
/ide-core
41 TITLE
:=Kernel support for IDE
43 Useful for usb mass storage devices
(e.g. on WL-HDD
)\\\
49 KCONFIG
:=$(CONFIG_IDE
)
50 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/ide
/*.
$(LINUX_KMOD_SUFFIX
)
51 AUTOLOAD
:=$(call AutoLoad
,20,ide-core
) $(call AutoLoad
,90,ide-detect ide-disk
)
53 $(eval
$(call KernelPackage
,ide-core
))
55 define KernelPackage
/ide-pdc202xx
56 TITLE
:=PDC202xx IDE driver
57 KCONFIG
:=$(CONFIG_BLK_DEV_PDC202XX_OLD
)
58 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/ide
/pci
/pdc202xx_old.
$(LINUX_KMOD_SUFFIX
)
59 AUTOLOAD
:=$(call AutoLoad
,30,pdc202xx_old
)
61 $(eval
$(call KernelPackage
,ide-pdc202xx
))
63 define KernelPackage
/ieee80211softmac
64 TITLE
:=802.11 Networking stack
70 - ieee80211_crypt_wep
\\\
71 - ieee80211_crypt_tkip
\\\
72 - ieee80211_crytp_ccmp
\\\
74 KCONFIG
:=$(CONFIG_IEEE80211_SOFTMAC
)
75 FILES
:=$(MODULES_DIR
)/kernel
/net
/ieee80211
/*.
$(LINUX_KMOD_SUFFIX
) $(MODULES_DIR
)/kernel
/net
/ieee80211
/softmac
/*.
$(LINUX_KMOD_SUFFIX
)
76 AUTOLOAD
:=$(call AutoLoad
,10, \
80 ieee80211_crypt_tkip \
81 ieee80211_crypt_ccmp \
85 $(eval
$(call KernelPackage
,ieee80211softmac
))
88 WIMENU
:=Wireless drivers
90 define KernelPackage
/bcm43xx
91 TITLE
:=Broadcom BCM43xx driver
96 KCONFIG
:=$(CONFIG_BCM43XX
)
97 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/bcm43xx
/bcm43xx.
$(LINUX_KMOD_SUFFIX
)
98 AUTOLOAD
:=$(call Autoload
,50,bcm43xx
)
101 $(eval
$(call KernelPackage
,bcm43xx
))
103 define KernelPackage
/ipw2100
104 TITLE
:=Intel IPw2100 driver
109 KCONFIG
:=$(CONFIG_IPW2100
)
110 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/ipw2100.
$(LINUX_KMOD_SUFFIX
)
111 AUTOLOAD
:=$(call Autoload
,50,ipw2100
)
114 $(eval
$(call KernelPackage
,ipw2100
))
116 define KernelPackage
/ipw2200
117 TITLE
:=Intel IPw2200 driver
122 KCONFIG
:=$(CONFIG_IPW2200
)
123 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/wireless
/ipw2200.
$(LINUX_KMOD_SUFFIX
)
124 AUTOLOAD
:=$(call Autoload
,50,ipw2200
)
127 $(eval
$(call KernelPackage
,ipw2200
))
130 NFMENU
:=Netfilter Extensions
132 define KernelPackage
/ipt-conntrack
133 TITLE
:=Modules for connection tracking
135 Netfilter
(IPv4
) kernel modules for connection tracking
\\\
140 - ipt_connmark
/CONNMARK
141 FILES
:=$(foreach mod
,$(IPT_CONNTRACK-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
144 $(eval
$(call KernelPackage
,ipt-conntrack
))
146 define KernelPackage
/ipt-filter
147 TITLE
:=Modules for packet content inspection
149 Netfilter
(IPv4
) kernel modules for packet content inspection
\\\
154 FILES
:=$(foreach mod
,$(IPT_FILTER-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
157 $(eval
$(call KernelPackage
,ipt-filter
))
159 define KernelPackage
/ipt-ipopt
160 TITLE
:=Modules for matching
/changing IP packet options
162 Netfilter
(IPv4
) modules for matching
/changing IP packet options
\\\
173 FILES
:=$(foreach mod
,$(IPT_IPOPT-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
176 $(eval
$(call KernelPackage
,ipt-ipopt
))
178 define KernelPackage
/ipt-ipsec
179 TITLE
:=Modules for matching IPSec packets
181 Netfilter
(IPv4
) modules for matching IPSec packets
\\\
186 FILES
:=$(foreach mod
,$(IPT_IPSEC-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
189 $(eval
$(call KernelPackage
,ipt-ipsec
))
191 define KernelPackage
/ipt-nat
192 TITLE
:=Modules for extra NAT targets
194 Netfilter
(IPv4
) modules for extra NAT targets
\\\
199 FILES
:=$(foreach mod
,$(IPT_NAT-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
202 $(eval
$(call KernelPackage
,ipt-nat
))
204 define KernelPackage
/ipt-nathelper
205 TITLE
:=Extra Conntrack and NAT helpers
207 Extra Netfilter
(IPv4
) Conntrack and NAT helpers
\\\
210 - ip_conntrack_amanda
\\\
211 - ip_conntrack_proto_gre
\\\
212 - ip_nat_proto_gre
\\\
213 - ip_conntrack_pptp
\\\
215 - ip_conntrack_sip
\\\
217 - ip_nat_snmp_basic
\\\
219 FILES
:=$(foreach mod
,$(IPT_NAT_EXTRA-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
222 $(eval
$(call KernelPackage
,ipt-nathelper
))
224 define KernelPackage
/ipt-imq
225 TITLE
:=Intermediate Queueing support
227 Kernel support for Intermediate Queueing devices
228 KCONFIG
:=$(CONFIG_IP_NF_TARGET_IMQ
)
229 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv4
/netfilter
/*IMQ
*.
$(LINUX_KMOD_SUFFIX
) $(MODULES_DIR
)/kernel
/drivers
/net
/imq.
$(LINUX_KMOD_SUFFIX
)
232 $(eval
$(call KernelPackage
,ipt-imq
))
235 define KernelPackage
/ipt-queue
236 TITLE
:=Module for user-space packet queueing
238 Netfilter
(IPv4
) module for user-space packet queueing
\\\
242 FILES
:=$(foreach mod
,$(IPT_QUEUE-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
245 $(eval
$(call KernelPackage
,ipt-queue
))
247 define KernelPackage
/ipt-ulog
248 TITLE
:=Module for user-space packet logging
250 Netfilter
(IPv4
) module for user-space packet logging
\\\
254 FILES
:=$(foreach mod
,$(IPT_ULOG-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
257 $(eval
$(call KernelPackage
,ipt-ulog
))
259 define KernelPackage
/ipt-extra
262 Other Netfilter
(IPv4
) kernel modules
\\\
269 FILES
:=$(foreach mod
,$(IPT_EXTRA-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
272 $(eval
$(call KernelPackage
,ipt-extra
))
274 define KernelPackage
/ip6tables
277 Netfilter IPv6 firewalling support
278 KCONFIG
:=$(CONFIG_IP6_NF_IPTABLES
)
279 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv6
/netfilter
/ip
*.
$(LINUX_KMOD_SUFFIX
)
282 $(eval
$(call KernelPackage
,ip6tables
))
285 define KernelPackage
/arptables
286 TITLE
:=ARP firewalling modules
288 Kernel modules for ARP firewalling
289 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv4
/netfilter
/arp
*.
$(LINUX_KMOD_SUFFIX
)
290 KCONFIG
:=$(CONFIG_IP_NF_ARPTABLES
)
293 $(eval
$(call KernelPackage
,arptables
))
296 define KernelPackage
/ebtables
297 TITLE
:=Bridge firewalling modules
299 Kernel modules for Ethernet Bridge firewalling
300 FILES
:=$(MODULES_DIR
)/kernel
/net
/bridge
/netfilter
/*.
$(LINUX_KMOD_SUFFIX
)
301 KCONFIG
:=$(CONFIG_BRIDGE_NF_EBTABLES
)
304 $(eval
$(call KernelPackage
,ebtables
))
307 define KernelPackage
/ipv6
310 Kernel modules for IPv6 support
311 KCONFIG
:=$(CONFIG_IPV6
)
312 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv6
/ipv6.
$(LINUX_KMOD_SUFFIX
)
314 $(eval
$(call KernelPackage
,ipv6
))
317 define KernelPackage
/gre
320 Generic Routing Encapsulation support
321 KCONFIG
=$(CONFIG_NET_IPGRE
)
322 FILES
=$(MODULES_DIR
)/kernel
/net
/ipv4
/ip_gre.
$(LINUX_KMOD_SUFFIX
)
324 $(eval
$(call KernelPackage
,gre
))
327 define KernelPackage
/tun
328 TITLE
:=Universal TUN
/TAP driver
330 Kernel support for the TUN
/TAP tunneling device
331 KCONFIG
:=$(CONFIG_TUN
)
332 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/tun.
$(LINUX_KMOD_SUFFIX
)
334 $(eval
$(call KernelPackage
,tun
))
337 define KernelPackage
/ppp
340 Kernel modules for PPP support
341 KCONFIG
:=$(CONFIG_PPP
)
344 define KernelPackage
/ppp
/2.6
345 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_async.ko
$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_generic.ko
$(MODULES_DIR
)/kernel
/drivers
/net
/slhc.ko
$(MODULES_DIR
)/kernel
/lib
/crc-ccitt.ko
346 AUTOLOAD
:=$(call AutoLoad
,30,crc-ccitt
)
349 define KernelPackage
/ppp
/2.4
350 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_async.o
$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_generic.o
$(MODULES_DIR
)/kernel
/drivers
/net
/slhc.o
352 $(eval
$(call KernelPackage
,ppp
))
355 define KernelPackage
/pppoe
358 Kernel modules for PPPoE
(PPP over Ethernet
) support
360 KCONFIG
:=$(CONFIG_PPPOE
)
361 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/pppoe.
$(LINUX_KMOD_SUFFIX
) $(MODULES_DIR
)/kernel
/drivers
/net
/pppox.
$(LINUX_KMOD_SUFFIX
)
363 $(eval
$(call KernelPackage
,pppoe
))
366 define KernelPackage
/pppoa
369 Kernel modules for PPPoA
(PPP over ATM
) support
371 KCONFIG
:=$(CONFIG_PPPOATM
)
372 FILES
:=$(MODULES_DIR
)/kernel
/net
/atm
/pppoatm.
$(LINUX_KMOD_SUFFIX
)
374 $(eval
$(call KernelPackage
,pppoa
))
377 define KernelPackage
/mppe
378 TITLE
:=Microsoft PPP compression
/encryption
379 DESCRIPTION
:=Kernel modules for Microsoft PPP compression
/encryption
381 KCONFIG
:=$(CONFIG_PPP_MPPE
)
384 define KernelPackage
/mppe
/2.4
385 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_mppe_mppc.
$(LINUX_KMOD_SUFFIX
)
388 define KernelPackage
/mppe
/2.6
389 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_mppe.
$(LINUX_KMOD_SUFFIX
)
391 $(eval
$(call KernelPackage
,mppe
))
394 define KernelPackage
/sched
395 TITLE
:=Traffic schedulers
397 Kernel schedulers for IP traffic
398 FILES
:=$(MODULES_DIR
)/kernel
/net
/sched
/*.
$(LINUX_KMOD_SUFFIX
)
400 $(eval
$(call KernelPackage
,sched
))
404 NDMENU
:=Network Devices
406 define KernelPackage
/natsemi
407 TITLE
:=National Semiconductor DP8381x series
409 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
\\\
411 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/natsemi.
$(LINUX_KMOD_SUFFIX
)
412 KCONFIG
:=$(CONFIG_NATSEMI
)
413 DEPENDS
:=@LINUX_2_6_X86||LINUX_2_4_X86
416 $(eval
$(call KernelPackage
,natsemi
))
418 define KernelPackage
/sis900
419 TITLE
:=SiS
900 Ethernet support
421 Kernel modules for Sis
900 Ethernet adapters.
422 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/sis900.
$(LINUX_KMOD_SUFFIX
)
423 KCONFIG
:=$(CONFIG_SIS900
)
424 DEPENDS
:=@LINUX_2_6_X86||LINUX_2_4_X86
427 $(eval
$(call KernelPackage
,sis900
))
429 define KernelPackage
/via-rhine
430 TITLE
:=Via Rhine ethernet support
432 Kernel modules for Via Rhine Ethernet chipsets.
433 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/via-rhine.
$(LINUX_KMOD_SUFFIX
)
434 KCONFIG
:=$(CONFIG_VIA_RHINE
)
435 DEPENDS
:=@LINUX_2_6_X86||LINUX_2_4_X86
438 $(eval
$(call KernelPackage
,via-rhine
))
440 define KernelPackage
/8139too
441 TITLE
:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
443 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
444 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/8139too.
$(LINUX_KMOD_SUFFIX
)
445 KCONFIG
:=$(CONFIG_8139TOO
)
446 DEPENDS
:=@LINUX_2_6_X86||LINUX_2_4_X86
449 $(eval
$(call KernelPackage
,8139too
))
451 define KernelPackage
/e100
452 TITLE
:=Intel
(R
) PRO
/100+ cards kernel support
454 Kernel modules for Intel
(R
) PRO
/100+ Ethernet adapters.
455 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/e100.
$(LINUX_KMOD_SUFFIX
)
456 KCONFIG
:=$(CONFIG_E100
)
457 DEPENDS
:=@LINUX_2_6_X86||LINUX_2_4_X86
460 $(eval
$(call KernelPackage
,e100
))
462 define KernelPackage
/3c59x
463 TITLE
:=3Com
3c590
/3c900 series
(592/595/597) Vortex
/Boomerang
465 This option enables driver support for a large number of
10mbps and
\\\
466 10/100mbps EISA
, PCI and PCMCIA
3Com Ethernet adapters
: \\\
467 - "Vortex" (Fast EtherLink
3c590
/3c592
/3c595
/3c597
) EISA and PCI
\\\
468 - "Boomerang" (EtherLink XL
3c900 or
3c905
) PCI
\\\
469 - "Cyclone" (3c540
/3c900
/3c905
/3c980
/3c575
/3c656
) PCI and Cardbus
\\\
470 - "Tornado" (3c905
) PCI
\\\
471 - "Hurricane" (3c555
/3cSOHO
) PCI
472 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/3c59x.
$(LINUX_KMOD_SUFFIX
)
473 KCONFIG
:=$(CONFIG_3C59X
)
474 DEPENDS
:=@LINUX_2_6_X86||LINUX_2_4_X86
477 $(eval
$(call KernelPackage
,3c59x
))