Skip to content

Commit 6e3e03f

Browse files
crafcat7acassis
authored andcommitted
fs/vfs:cmakelists add fs_lock config
Signed-off-by: chenrun1 <[email protected]>
1 parent 14602be commit 6e3e03f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

fs/vfs/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ set(SRCS
4848
fs_fsync.c
4949
fs_truncate.c)
5050

51+
# File lock support
52+
53+
if(NOT "${CONFIG_FS_LOCK_BUCKET_SIZE}" STREQUAL "0")
54+
list(APPEND SRCS fs_lock.c)
55+
endif()
56+
5157
# Certain interfaces are not available if there is no mountpoint support
5258

5359
if(NOT "${CONFIG_PSEUDOFS_SOFTLINKS}" STREQUAL "0")

0 commit comments

Comments
 (0)