diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index 586700f67..ec5434388 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -391,3 +391,17 @@ define KernelPackage/macvlan/description endef $(eval $(call KernelPackage,macvlan)) + +define KernelPackage/dummy + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Dummy network device + KCONFIG:=CONFIG_DUMMY + FILES:=$(LINUX_DIR)/drivers/net/dummy.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,34,dummy) +endef + +define KernelPackage/dummy/description + The dummy network device +endef + +$(eval $(call KernelPackage,dummy))