d22a9909a1
Move the CAN bus network driver from drivers/can to drivers/net as it implements a network driver, not a CAN controller driver. Use a separate Kconfig for enabling the CAN bus network driver instead of piggybacking on the SocketCAN Kconfig. This allows for other (e.g. out-of-tree) SocketCAN transports. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
12 lines
306 B
CMake
12 lines
306 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_NET_LOOPBACK loopback.c)
|
|
zephyr_library_sources_ifdef(CONFIG_NET_CANBUS canbus.c)
|
|
|
|
if(CONFIG_NET_NATIVE)
|
|
zephyr_library_sources_ifdef(CONFIG_SLIP slip.c)
|
|
zephyr_library_sources_ifdef(CONFIG_NET_PPP ppp.c)
|
|
endif()
|