libuv:change LIBUV_BACKEND_EPOLL depends on FS_NOTIFY

Signed-off-by: guohao15 <guohao15@xiaomi.com>
This commit is contained in:
guohao15 2023-11-08 11:17:34 +08:00 committed by GUIDINGLI
parent 4e386a955e
commit ed91a3c03c
2 changed files with 2 additions and 4 deletions

View file

@ -22,8 +22,8 @@ config LIBUV_THREAD_STACKSIZE
config LIBUV_BACKEND_EPOLL
bool "Using epoll backend in libuv"
select FS_NOTIFY
default y
depends on FS_NOTIFY
if LIBUV_BACKEND_EPOLL

View file

@ -81,6 +81,7 @@ ifneq ($(CONFIG_LIBUV_BACKEND_EPOLL),)
CSRCS += linux.c
else
CSRCS += posix-poll.c
CSRCS += no-fsevents.c
endif
CSRCS += uv-data-getter-setters.c
CSRCS += version.c
@ -89,9 +90,6 @@ CSRCS += idna.c
CSRCS += strscpy.c
CSRCS += strtok.c
endif
ifeq ($(CONFIG_FS_NOTIFY),)
CSRCS += no-fsevents.c
endif
CSRCS += uv-common.c
CSRCS += random-devurandom.c
CSRCS += random.c