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
12 DESCRIPTION
:=CryptoAPI modules
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
)
39 $(eval
$(call KernelPackage
,crypto
))
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
)\\\
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
)
55 $(eval
$(call KernelPackage
,ide-core
))
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
)
64 $(eval
$(call KernelPackage
,ide-pdc202xx
))
66 NFMENU
:=Netfilter Extensions
68 define KernelPackage
/ipt-conntrack
69 TITLE
:=Modules for connection tracking
70 DESCRIPTION
:=Netfilter
(IPv4
) kernel modules for connection tracking
\\\
74 * ipt_connmark
/CONNMARK
76 FILES
:=$(foreach mod
,$(IPT_CONNTRACK-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
78 $(eval
$(call KernelPackage
,ipt-conntrack
))
81 define KernelPackage
/ipt-filter
82 TITLE
:=Modules for packet content inspection
83 DESCRIPTION
:=Netfilter
(IPv4
) kernel modules for packet content inspection
\\\
88 FILES
:=$(foreach mod
,$(IPT_FILTER-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
90 $(eval
$(call KernelPackage
,ipt-filter
))
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
\\\
106 FILES
:=$(foreach mod
,$(IPT_IPOPT-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
108 $(eval
$(call KernelPackage
,ipt-ipopt
))
111 define KernelPackage
/ipt-ipsec
112 TITLE
:=Modules for matching IPSec packets
113 DESCRIPTION
:=Netfilter
(IPv4
) modules for matching IPSec packets
\\\
118 FILES
:=$(foreach mod
,$(IPT_IPSEC-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
120 $(eval
$(call KernelPackage
,ipt-ipsec
))
123 define KernelPackage
/ipt-nat
124 TITLE
:=Modules for extra NAT targets
125 DESCRIPTION
:=Netfilter
(IPv4
) modules for extra NAT targets
\\\
130 FILES
:=$(foreach mod
,$(IPT_NAT-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
132 $(eval
$(call KernelPackage
,ipt-nat
))
134 define KernelPackage
/ipt-nathelper
135 TITLE
:=Extra Conntrack and NAT helpers
136 DESCRIPTION
:=Extra Conntrack and NAT helpers
(IPv4
) \\\
138 * ip_conntrack_amanda
\\\
139 * ip_conntrack_proto_gre
\\\
140 * ip_nat_proto_gre
\\\
141 * ip_conntrack_pptp
\\\
143 * ip_conntrack_sip
\\\
145 * ip_nat_snmp_basic
\\\
148 FILES
:=$(foreach mod
,$(IPT_NAT_EXTRA-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
150 $(eval
$(call KernelPackage
,ipt-nathelper
))
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
)
157 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv4
/netfilter
/*IMQ
*.
$(LINUX_KMOD_SUFFIX
) $(MODULES_DIR
)/kernel
/drivers
/net
/imq.
$(LINUX_KMOD_SUFFIX
)
159 $(eval
$(call KernelPackage
,ipt-imq
))
162 define KernelPackage
/ipt-queue
163 TITLE
:=Module for user-space packet queueing
164 DESCRIPTION
:=Netfilter
(IPv4
) module for user-space packet queueing
\\\
168 FILES
:=$(foreach mod
,$(IPT_QUEUE-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
170 $(eval
$(call KernelPackage
,ipt-queue
))
172 define KernelPackage
/ipt-ulog
173 TITLE
:=Module for user-space packet logging
174 DESCRIPTION
:=Netfilter
(IPv4
) module for user-space packet logging
\\\
178 FILES
:=$(foreach mod
,$(IPT_ULOG-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
180 $(eval
$(call KernelPackage
,ipt-ulog
))
182 define KernelPackage
/ipt-extra
184 DESCRIPTION
:=Other Netfilter
(IPv4
) kernel modules
\\\
192 FILES
:=$(foreach mod
,$(IPT_EXTRA-m
),$(MODULES_DIR
)/kernel
/net
/$(mod
).
$(LINUX_KMOD_SUFFIX
))
194 $(eval
$(call KernelPackage
,ipt-extra
))
196 define KernelPackage
/ip6tables
198 DESCRIPTION
:=Netfilter IPv6 firewalling support
200 KCONFIG
:=$(CONFIG_IP6_NF_IPTABLES
)
201 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv6
/netfilter
/ip
*.
$(LINUX_KMOD_SUFFIX
)
203 $(eval
$(call KernelPackage
,ip6tables
))
206 define KernelPackage
/arptables
207 TITLE
:=ARP firewalling modules
208 DESCRIPTION
:=Kernel modules for ARP firewalling
210 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv4
/netfilter
/arp
*.
$(LINUX_KMOD_SUFFIX
)
211 KCONFIG
:=$(CONFIG_IP_NF_ARPTABLES
)
213 $(eval
$(call KernelPackage
,arptables
))
216 define KernelPackage
/ebtables
217 TITLE
:=Bridge firewalling modules
218 DESCRIPTION
:=Kernel modules for Ethernet Bridge firewalling
220 FILES
:=$(MODULES_DIR
)/kernel
/net
/bridge
/netfilter
/*.
$(LINUX_KMOD_SUFFIX
)
221 KCONFIG
:=$(CONFIG_BRIDGE_NF_EBTABLES
)
223 $(eval
$(call KernelPackage
,ebtables
))
226 define KernelPackage
/ppp
228 DESCRIPTION
:=Kernel modules for PPP support
229 KCONFIG
:=$(CONFIG_PPP
)
232 define KernelPackage
/ppp
/2.6
233 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
234 AUTOLOAD
:=$(call AutoLoad
,30,crc-ccitt
)
237 define KernelPackage
/ppp
/2.4
238 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_async.o
$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_generic.o
$(MODULES_DIR
)/kernel
/drivers
/net
/slhc.o
240 $(eval
$(call KernelPackage
,ppp
))
242 define KernelPackage
/pppoe
244 DESCRIPTION
:=Kernel modules for PPP over Ethernet support
246 KCONFIG
:=$(CONFIG_PPPOE
)
247 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/pppoe.
$(LINUX_KMOD_SUFFIX
) $(MODULES_DIR
)/kernel
/drivers
/net
/pppox.
$(LINUX_KMOD_SUFFIX
)
249 $(eval
$(call KernelPackage
,pppoe
))
251 define KernelPackage
/pppoa
253 DESCRIPTION
:=Kernel modules for PPP over ATM support
255 KCONFIG
:=$(CONFIG_PPPOATM
)
256 FILES
:=$(MODULES_DIR
)/kernel
/net
/atm
/pppoatm.
$(LINUX_KMOD_SUFFIX
)
258 $(eval
$(call KernelPackage
,pppoa
))
260 define KernelPackage
/mppe
261 TITLE
:=Microsoft PPP compression
/encryption
262 DESCRIPTION
:=Kernel modules for Microsoft PPP compression
/encryption
263 DEPENDS
:=@LINUX_2_4 kmod-ppp
264 KCONFIG
:=$(CONFIG_PPPOE
)
265 FILES
:=$(MODULES_DIR
)/kernel
/drivers
/net
/ppp_mppe_mppc.
$(LINUX_KMOD_SUFFIX
)
267 $(eval
$(call KernelPackage
,mppe
))