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 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv6
/netfilter
/ip
*.
$(LINUX_KMOD_SUFFIX
)
202 $(eval
$(call KernelPackage
,ip6tables
))
205 define KernelPackage
/arptables
206 TITLE
:=ARP firewalling modules
207 DESCRIPTION
:=Kernel modules for ARP firewalling
209 FILES
:=$(MODULES_DIR
)/kernel
/net
/ipv4
/netfilter
/arp
*.
$(LINUX_KMOD_SUFFIX
)
210 KCONFIG
:=$(CONFIG_IP_NF_ARPTABLES
)
212 $(eval
$(call KernelPackage
,arptables
))
215 define KernelPackage
/ebtables
216 TITLE
:=Bridge firewalling modules
217 DESCRIPTION
:=Kernel modules for Ethernet Bridge firewalling
219 FILES
:=$(MODULES_DIR
)/kernel
/net
/bridge
/netfilter
/*.
$(LINUX_KMOD_SUFFIX
)
220 KCONFIG
:=$(CONFIG_BRIDGE_NF_EBTABLES
)
222 $(eval
$(call KernelPackage
,ebtables
))