summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 e19f710b8..32994c9e6 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