zephyr/subsys/net/l2/CMakeLists.txt

28 lines
498 B
CMake
Raw Normal View History

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()
if(CONFIG_NET_L2_CANBUS)
add_subdirectory(canbus)
endif()