Skip to content

Commit d7ac5b1

Browse files
committed
[nrf fromtree] net: sockets: Split native IP socket implementation from syscalls
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]> (cherry picked from commit 404e9c7)
1 parent 9cb5783 commit d7ac5b1

File tree

3 files changed

+3218
-3210
lines changed

3 files changed

+3218
-3210
lines changed

subsys/net/lib/sockets/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ zephyr_library_sources(
2020
)
2121
endif()
2222

23+
zephyr_library_sources_ifdef(CONFIG_NET_NATIVE sockets_inet.c)
2324
zephyr_library_sources_ifdef(CONFIG_NET_SOCKETS_CAN sockets_can.c)
2425
zephyr_library_sources_ifdef(CONFIG_NET_SOCKETS_PACKET sockets_packet.c)
2526
zephyr_library_sources_ifdef(CONFIG_NET_SOCKETS_SOCKOPT_TLS sockets_tls.c)

0 commit comments

Comments
 (0)