net/netif : Expose configurations to Kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
This commit is contained in:
parent
b52e3e1587
commit
1a844b3df6
@ -11,5 +11,6 @@ rsource "credman/Kconfig"
|
|||||||
rsource "gnrc/Kconfig"
|
rsource "gnrc/Kconfig"
|
||||||
rsource "sock/Kconfig"
|
rsource "sock/Kconfig"
|
||||||
rsource "link_layer/Kconfig"
|
rsource "link_layer/Kconfig"
|
||||||
|
rsource "netif/Kconfig"
|
||||||
|
|
||||||
endmenu # Networking
|
endmenu # Networking
|
||||||
|
|||||||
19
sys/net/netif/Kconfig
Normal file
19
sys/net/netif/Kconfig
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
||||||
|
#
|
||||||
|
# This file is subject to the terms and conditions of the GNU Lesser
|
||||||
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
|
# directory for more details.
|
||||||
|
#
|
||||||
|
menuconfig KCONFIG_MODULE_NETIF
|
||||||
|
bool "Configure Network Interfaces"
|
||||||
|
depends on MODULE_NETIF
|
||||||
|
help
|
||||||
|
Configure Network Interfaces (NETIF) using Kconfig.
|
||||||
|
|
||||||
|
if KCONFIG_MODULE_NETIF
|
||||||
|
|
||||||
|
config NETIF_NAMELENMAX
|
||||||
|
int "Maximum length for an interface name"
|
||||||
|
default 8
|
||||||
|
|
||||||
|
endif # KCONFIG_MODULE_NETIF
|
||||||
Loading…
x
Reference in New Issue
Block a user