mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2025-04-19 20:58:31 +09:00

Just have the Makefile add the object if epoll is enabled, then it's not necessary to guard the entire epoll.c file inside an CONFIG_EPOLL ifdef. Signed-off-by: Jens Axboe <axboe@kernel.dk>
22 lines
648 B
Makefile
22 lines
648 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for io_uring
|
|
|
|
ifdef CONFIG_GCOV_PROFILE_URING
|
|
GCOV_PROFILE := y
|
|
endif
|
|
|
|
obj-$(CONFIG_IO_URING) += io_uring.o opdef.o kbuf.o rsrc.o notif.o \
|
|
tctx.o filetable.o rw.o net.o poll.o \
|
|
eventfd.o uring_cmd.o openclose.o \
|
|
sqpoll.o xattr.o nop.o fs.o splice.o \
|
|
sync.o msg_ring.o advise.o openclose.o \
|
|
statx.o timeout.o fdinfo.o cancel.o \
|
|
waitid.o register.o truncate.o \
|
|
memmap.o alloc_cache.o
|
|
obj-$(CONFIG_IO_URING_ZCRX) += zcrx.o
|
|
obj-$(CONFIG_IO_WQ) += io-wq.o
|
|
obj-$(CONFIG_FUTEX) += futex.o
|
|
obj-$(CONFIG_EPOLL) += epoll.o
|
|
obj-$(CONFIG_NET_RX_BUSY_POLL) += napi.o
|