kernel: add kmod-vrf
Add option to compile kmod-vrf, support for Virtual Routing and Forwarding (Lite). This module depends on NET_L3_MASTER_DEV, which is a boolean kernel option, so we need to create a configuration option also for this, and make kmod-vrf depend on it. Signed-off-by: Marek Behún <kabel@kernel.org>
This commit is contained in:
		 Marek Behún
					Marek Behún
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							aa8299ee4f
						
					
				
				
					commit
					45d541bb40
				
			| @@ -564,6 +564,23 @@ endef | ||||
| $(eval $(call KernelPackage,veth)) | ||||
|  | ||||
|  | ||||
| define KernelPackage/vrf | ||||
|   SUBMENU:=$(NETWORK_SUPPORT_MENU) | ||||
|   TITLE:=Virtual Routing and Forwarding (Lite) | ||||
|   DEPENDS:=@KERNEL_NET_L3_MASTER_DEV | ||||
|   KCONFIG:=CONFIG_NET_VRF | ||||
|   FILES:=$(LINUX_DIR)/drivers/net/vrf.ko | ||||
|   AUTOLOAD:=$(call AutoLoad,30,vrf) | ||||
| endef | ||||
|  | ||||
| define KernelPackage/vrf/description | ||||
|  This option enables the support for mapping interfaces into VRF's. The | ||||
|  support enables VRF devices. | ||||
| endef | ||||
|  | ||||
| $(eval $(call KernelPackage,vrf)) | ||||
|  | ||||
|  | ||||
| define KernelPackage/slhc | ||||
|   SUBMENU:=$(NETWORK_SUPPORT_MENU) | ||||
|   HIDDEN:=1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user