mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 21:27:49 +00: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:
parent
3843f7b4fe
commit
1d8eab937f
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue