2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-06-27 23:02:01 +08:00
|
|
|
if(CONFIG_NET_L2_BT OR CONFIG_NET_L2_BT_SHELL)
|
|
|
|
add_subdirectory(bluetooth)
|
|
|
|
endif()
|
2017-12-05 18:11:29 +08:00
|
|
|
|
2021-02-22 23:51:25 +08:00
|
|
|
if(CONFIG_NET_L2_VIRTUAL)
|
|
|
|
add_subdirectory(virtual)
|
|
|
|
endif()
|
|
|
|
|
2018-06-27 23:02:01 +08:00
|
|
|
if(CONFIG_NET_L2_DUMMY)
|
|
|
|
add_subdirectory(dummy)
|
2017-12-05 18:11:29 +08:00
|
|
|
endif()
|
|
|
|
|
2018-04-05 23:14:51 +08:00
|
|
|
if(CONFIG_NET_L2_ETHERNET)
|
|
|
|
add_subdirectory(ethernet)
|
|
|
|
endif()
|
|
|
|
|
2019-03-26 23:26:25 +08:00
|
|
|
if(CONFIG_NET_L2_PPP)
|
|
|
|
add_subdirectory(ppp)
|
|
|
|
endif()
|
|
|
|
|
2017-12-05 18:11:29 +08:00
|
|
|
if(CONFIG_NET_L2_IEEE802154)
|
|
|
|
add_subdirectory(ieee802154)
|
|
|
|
endif()
|
2018-01-15 18:42:28 +08:00
|
|
|
|
|
|
|
if(CONFIG_NET_L2_OPENTHREAD)
|
|
|
|
add_subdirectory(openthread)
|
|
|
|
endif()
|
2018-06-27 23:02:01 +08:00
|
|
|
|
|
|
|
if(CONFIG_NET_L2_WIFI_MGMT OR CONFIG_NET_L2_WIFI_SHELL)
|
|
|
|
add_subdirectory(wifi)
|
|
|
|
endif()
|
2019-01-23 19:58:11 +08:00
|
|
|
|
2021-11-29 18:31:38 +08:00
|
|
|
if(CONFIG_NET_L2_CANBUS_RAW)
|
2019-01-23 19:58:11 +08:00
|
|
|
add_subdirectory(canbus)
|
|
|
|
endif()
|