From cce66b1965cdd60b8befc4e6fee4b6be5f3b09b3 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 2 Oct 2007 11:10:29 +0000 Subject: [PATCH] Add support for the network packet generator SVN-Revision: 9091 --- package/kernel/modules/network.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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