zephyr/subsys/net/l2/CMakeLists.txt

24 lines
437 B
CMake

if(CONFIG_NET_L2_BT OR CONFIG_NET_L2_BT_SHELL)
add_subdirectory(bluetooth)
endif()
if(CONFIG_NET_L2_DUMMY)
add_subdirectory(dummy)
endif()
if(CONFIG_NET_L2_ETHERNET)
add_subdirectory(ethernet)
endif()
if(CONFIG_NET_L2_IEEE802154)
add_subdirectory(ieee802154)
endif()
if(CONFIG_NET_L2_OPENTHREAD)
add_subdirectory(openthread)
endif()
if(CONFIG_NET_L2_WIFI_MGMT OR CONFIG_NET_L2_WIFI_SHELL)
add_subdirectory(wifi)
endif()