From fe5b868a4f0625f81dbfab80827b581b9a11d357 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 5 Dec 2010 21:23:21 +0000 Subject: kernel: add dummy net device Thank you Thomas Jansen. (partly closes #5849) SVN-Revision: 24272 --- package/kernel/modules/netdevices.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'package/kernel/modules/netdevices.mk') diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index 61fccf4..1290b7f 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -501,3 +501,17 @@ define KernelPackage/solos-pci/description endef $(eval $(call KernelPackage,solos-pci)) + +define KernelPackage/dummy + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Dummy network device + KCONFIG:=CONFIG_DUMMY + FILES:=$(LINUX_DIR)/drivers/net/dummy.ko + AUTOLOAD:=$(call AutoLoad,34,dummy) +endef + +define KernelPackage/dummy/description + The dummy network device +endef + +$(eval $(call KernelPackage,dummy)) -- cgit v1.1