mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +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()
|
||||
|
||||
if(CONFIG_SIM_WIFIDEV_HOST)
|
||||
if(NOT ${CONFIG_SIM_WIFIDEV_NUMBER} EQUAL 0)
|
||||
add_compile_options(-DTOPDIR=$(TOPDIR))
|
||||
list(APPEND SRCS sim_wifihost.c)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user