net: Refine Kconfig to put NET_BUF appart
NET_BUF might be used alone. Also Bluetooth does not necessarily needs an IP stack to run. Changing titles names for better understanding. Change-Id: Iabfd7bf0689e79d27cc7897856a528f0dc5740f7 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
f51d84d93b
commit
451dadd932
32
net/Kconfig
32
net/Kconfig
|
@ -16,19 +16,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
menuconfig NETWORKING
|
||||
bool
|
||||
prompt "Generic networking support"
|
||||
select NANO_TIMEOUTS
|
||||
select NANO_TIMERS
|
||||
select NET_BUF
|
||||
select SYSTEM_WORKQUEUE
|
||||
select NANO_WORKQUEUE
|
||||
default n
|
||||
help
|
||||
This option enabled generic networking support.
|
||||
|
||||
if NETWORKING
|
||||
menu "Networking"
|
||||
|
||||
config NET_BUF
|
||||
bool "Network buffer support"
|
||||
|
@ -55,6 +43,21 @@ config NET_BUF_SIMPLE_DEBUG
|
|||
help
|
||||
Enable extra debug logs and checks for the generic network buffers.
|
||||
|
||||
source "net/bluetooth/Kconfig"
|
||||
|
||||
config NETWORKING
|
||||
bool "Link layer and IP networking support"
|
||||
select NANO_TIMEOUTS
|
||||
select NANO_TIMERS
|
||||
select NET_BUF
|
||||
select SYSTEM_WORKQUEUE
|
||||
select NANO_WORKQUEUE
|
||||
default n
|
||||
help
|
||||
This option enabled generic link layer and IP networking support.
|
||||
|
||||
if NETWORKING
|
||||
|
||||
choice
|
||||
prompt "IP stack"
|
||||
default NET_UIP
|
||||
|
@ -77,6 +80,7 @@ source "net/ip/Kconfig"
|
|||
|
||||
source "net/yaip/Kconfig"
|
||||
|
||||
source "net/bluetooth/Kconfig"
|
||||
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
# UIP options
|
||||
#
|
||||
menu "Networking: µIP stack"
|
||||
menu "uIP stack"
|
||||
depends on NET_UIP
|
||||
|
||||
config IP_BUF_RX_SIZE
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
menu "Networking: YAIP stack"
|
||||
menu "New IP stack [EXPERIMENTAL]"
|
||||
depends on NET_YAIP
|
||||
|
||||
config NET_INIT_PRIO
|
||||
|
|
Loading…
Reference in a new issue