Skip to content

Commit

Permalink
net: sockets: Split native IP socket implementation from syscalls
Browse files Browse the repository at this point in the history
Native IP socket implementation need only be build if native IP stack is
enabled. Therefore, split the native IP sockets from the common socket
syscalls shared across all socket implementations.

Signed-off-by: Robert Lubos <[email protected]>
  • Loading branch information
rlubos committed Sep 30, 2024
1 parent 5e2203a commit 163083e
Show file tree
Hide file tree
Showing 3 changed files with 3,218 additions and 3,210 deletions.
1 change: 1 addition & 0 deletions subsys/net/lib/sockets/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ zephyr_library_sources(
)
endif()

zephyr_library_sources_ifdef(CONFIG_NET_NATIVE sockets_inet.c)
zephyr_library_sources_ifdef(CONFIG_NET_SOCKETS_CAN sockets_can.c)
zephyr_library_sources_ifdef(CONFIG_NET_SOCKETS_PACKET sockets_packet.c)
zephyr_library_sources_ifdef(CONFIG_NET_SOCKETS_SOCKOPT_TLS sockets_tls.c)
Expand Down
Loading

0 comments on commit 163083e

Please sign in to comment.