mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
simwifi: refactor the interfaces of simwifi and simnet
Fix CMake logic to correctly include sim_wifihost. Signed-off-by: liqinhui <liqinhui@xiaomi.com>
This commit is contained in:
@@ -213,7 +213,7 @@ if(CONFIG_SIM_X11FB)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CONFIG_SIM_WIFIDEV_HOST)
|
if(NOT ${CONFIG_SIM_WIFIDEV_NUMBER} EQUAL 0)
|
||||||
add_compile_options(-DTOPDIR=$(TOPDIR))
|
add_compile_options(-DTOPDIR=$(TOPDIR))
|
||||||
list(APPEND SRCS sim_wifihost.c)
|
list(APPEND SRCS sim_wifihost.c)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user