diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2011-04-09 23:23:46 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2011-04-09 23:23:46 +0000 |
commit | 37398c1ebe20c002e2673e9b1f25f2ac2474283b (patch) | |
tree | ba673a0756976b12b423e3e5a6ead96f9ee3662c /package/kernel | |
parent | 21d34442cec8f4e59273e7ac0cb91445eba77564 (diff) | |
download | upstream-37398c1ebe20c002e2673e9b1f25f2ac2474283b.tar.gz upstream-37398c1ebe20c002e2673e9b1f25f2ac2474283b.tar.bz2 upstream-37398c1ebe20c002e2673e9b1f25f2ac2474283b.zip |
iipt-debug: create bundle of netfilter modules for debugging
Add a bundle for including commonly useful modules for IPtables debugging and development.
For now, it just contains xt_TRACE.ko
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26567 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/modules/netfilter.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk index e44d067f35..919e8ad19d 100644 --- a/package/kernel/modules/netfilter.mk +++ b/package/kernel/modules/netfilter.mk @@ -262,6 +262,24 @@ endef $(eval $(call KernelPackage,ipt-ulog)) +define KernelPackage/ipt-debug + TITLE:=Module for debugging/development + KCONFIG:=$(KCONFIG_IPT_DEBUG) + DEFAULT:=n + FILES:=$(foreach mod,$(IPT_DEBUG-m),$(LINUX_DIR)/net/$(mod).ko) + AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_DEBUG-m))) + $(call AddDepends/ipt) +endef + +define KernelPackage/ipt-debug/description + Netfilter modules for debugging/development of the firewall + Includes: + - TRACE +endef + +$(eval $(call KernelPackage,ipt-debug)) + + define KernelPackage/ipt-led TITLE:=Module to trigger a LED with a Netfilter rule KCONFIG:=$(KCONFIG_IPT_LED) |