drivers: net: exclude BSD components from build

Unless ALLOW_BSD_COMPONENTS is enabled support will not be built

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2022-02-21 08:02:35 +00:00 committed by Xiang Xiao
parent 96ce5347fa
commit 990cd877bc

View File

@ -221,6 +221,7 @@ endif # NET_SLIP
menuconfig NET_TUN
bool "TUN Virtual Network Device support"
default n
depends on ALLOW_BSD_COMPONENTS
select ARCH_HAVE_NETDEV_STATISTICS
if NET_TUN