aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/netdevices.mk
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2010-12-05 21:23:21 +0000
committerHauke Mehrtens <hauke@openwrt.org>2010-12-05 21:23:21 +0000
commit19f8b8ff7052213d94ff75bee034c5926cdeed85 (patch)
treeed23f9aa1bd619100ec13de4c342c0b2c90f6118 /package/kernel/modules/netdevices.mk
parent125fe2641818190e46d094643d39bf413f4a5fb0 (diff)
downloadupstream-19f8b8ff7052213d94ff75bee034c5926cdeed85.tar.gz
upstream-19f8b8ff7052213d94ff75bee034c5926cdeed85.tar.bz2
upstream-19f8b8ff7052213d94ff75bee034c5926cdeed85.zip
kernel: add dummy net device
Thank you Thomas Jansen. (partly closes #5849) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24272 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/netdevices.mk')
-rw-r--r--package/kernel/modules/netdevices.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk
index 61fccf4fd7..1290b7f5fa 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))