This is an automated email from the ASF dual-hosted git repository.

ligd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit ed91a3c03cd4e36b8840e038eea907d060a0b30a
Author: guohao15 <guoha...@xiaomi.com>
AuthorDate: Wed Nov 8 11:17:34 2023 +0800

    libuv:change LIBUV_BACKEND_EPOLL depends on FS_NOTIFY
    
    Signed-off-by: guohao15 <guoha...@xiaomi.com>
---
 system/libuv/Kconfig  | 2 +-
 system/libuv/Makefile | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/system/libuv/Kconfig b/system/libuv/Kconfig
index a28a87690..d8e3b0114 100644
--- a/system/libuv/Kconfig
+++ b/system/libuv/Kconfig
@@ -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
 
diff --git a/system/libuv/Makefile b/system/libuv/Makefile
index 8914037f5..5500c6a0d 100644
--- a/system/libuv/Makefile
+++ b/system/libuv/Makefile
@@ -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

Reply via email to