summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-02 11:10:29 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-02 11:10:29 +0000
commit83d9200fc692eb77b097bf9ab65058fb979c9bee (patch)
treee3e1f4b522bfb0a8f6741aee15e00ab5c5b60983
parente0bf434350dd0cc7190c2892d9010f0c9ae0f394 (diff)
Add support for the network packet generator
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9091 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/network.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk
index e19f710b80..32994c9e6d 100644
--- a/package/kernel/modules/network.mk
+++ b/package/kernel/modules/network.mk
@@ -458,6 +458,22 @@ endef
$(eval $(call KernelPackage,mp-alg))
+define KernelPackage/pktgen
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=Network packet generator
+ DEPENDS:=@LINUX_2_6
+ KCONFIG:=CONFIG_NET_PKTGEN
+ FILES:=$(LINUX_DIR)/net/core/pktgen.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,99,pktgen)
+endef
+
+define KernelPackage/pktgen/description
+ Kernel modules for the Network Packet Generator
+endef
+
+$(eval $(call KernelPackage,pktgen))
+
+
NETWORK_DEVICES_MENU:=Network Devices
define KernelPackage/natsemi