cmake/build: fix build break on cmake
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
e28f6d6e6e
commit
49dec5b48c
@ -110,6 +110,10 @@ else()
|
||||
list(APPEND STDLIBS rt)
|
||||
endif()
|
||||
|
||||
if(CONFIG_LIBM_TOOLCHAIN)
|
||||
list(APPEND STDLIBS m)
|
||||
endif()
|
||||
|
||||
if(CONFIG_RPTUN)
|
||||
list(APPEND SRCS sim_rptun.c)
|
||||
endif()
|
||||
|
@ -32,7 +32,8 @@ if(NOT CONFIG_DISABLE_MOUNTPOINT)
|
||||
fs_openblockdriver.c
|
||||
fs_closeblockdriver.c
|
||||
fs_blockpartition.c
|
||||
fs_findmtddriver.c)
|
||||
fs_findmtddriver.c
|
||||
fs_closemtddriver.c)
|
||||
|
||||
if(CONFIG_MTD)
|
||||
list(APPEND SRCS fs_registermtddriver.c fs_unregistermtddriver.c
|
||||
|
@ -18,6 +18,14 @@
|
||||
#
|
||||
# ##############################################################################
|
||||
|
||||
set(SRCS)
|
||||
|
||||
if(CONFIG_FS_RPMSGFS)
|
||||
target_sources(fs PRIVATE rpmsgfs.c rpmsgfs_client.c rpmsgfs_server.c)
|
||||
list(APPEND SRCS rpmsgfs.c rpmsgfs_client.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_FS_RPMSGFS_SERVER)
|
||||
list(APPEND SRCS rpmsgfs_server.c)
|
||||
endif()
|
||||
|
||||
target_sources(fs PRIVATE ${SRCS})
|
||||
|
@ -36,6 +36,7 @@ set(SRCS
|
||||
net_close.c
|
||||
recvmsg.c
|
||||
sendmsg.c
|
||||
shutdown.c
|
||||
net_dup2.c
|
||||
net_sockif.c
|
||||
net_poll.c
|
||||
|
Loading…
Reference in New Issue
Block a user