kernel: add dummy net device
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 Dec 2010 21:23:21 +0000 (21:23 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 Dec 2010 21:23:21 +0000 (21:23 +0000)
Thank you Thomas Jansen.
(partly closes #5849)

SVN-Revision: 24272

package/kernel/modules/netdevices.mk

index 61fccf4fd7d2e95696a29221dbb1d50c9c851d2d..1290b7f5fa9f37fd477863aa491b717606d8f5e9 100644 (file)
@@ -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))