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