mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
contrib/port/unix/lib: exclude slipif.c source
This commit is contained in:
parent
3fe8d2fc43
commit
6a350a0278
@ -19,6 +19,7 @@ set (LWIP_INCLUDE_DIRS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/"
|
||||
)
|
||||
|
||||
set (LWIP_EXCLUDE_SLIPIF TRUE)
|
||||
include(${LWIP_CONTRIB_DIR}/ports/unix/Filelists.cmake)
|
||||
include(${LWIP_DIR}/src/Filelists.cmake)
|
||||
|
||||
|
@ -98,9 +98,12 @@ set(lwipnetif_SRCS
|
||||
${LWIP_DIR}/src/netif/ethernet.c
|
||||
${LWIP_DIR}/src/netif/bridgeif.c
|
||||
${LWIP_DIR}/src/netif/bridgeif_fdb.c
|
||||
${LWIP_DIR}/src/netif/slipif.c
|
||||
)
|
||||
|
||||
if (NOT ${LWIP_EXCLUDE_SLIPIF})
|
||||
list(APPEND lwipnetif_SRCS ${LWIP_DIR}/src/netif/slipif.c)
|
||||
endif()
|
||||
|
||||
# 6LoWPAN
|
||||
set(lwipsixlowpan_SRCS
|
||||
${LWIP_DIR}/src/netif/lowpan6_common.c
|
||||
|
Loading…
Reference in New Issue
Block a user