freebsd-dev/sys/modules/linuxkpi/Makefile
Konstantin Belousov 5bb3134a8c Fix some modules to export more used symbols
and remove non-present symbols that are now reported by kmod_syms.awk.

Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D32878
2021-11-18 15:56:23 +02:00

45 lines
861 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/sys/compat/linuxkpi/common/src
KMOD= linuxkpi
SRCS= linux_compat.c \
linux_current.c \
linux_devres.c \
linux_dmi.c \
linux_domain.c \
linux_firmware.c \
linux_fpu.c \
linux_hrtimer.c \
linux_idr.c \
linux_interrupt.c \
linux_kmod.c \
linux_kthread.c \
linux_lock.c \
linux_page.c \
linux_pci.c \
linux_radix.c \
linux_rcu.c \
linux_seq_file.c \
linux_schedule.c \
linux_shmemfs.c \
linux_shrinker.c \
linux_slab.c \
linux_tasklet.c \
linux_usb.c \
linux_work.c \
linux_xarray.c
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
${MACHINE_CPUARCH} == "i386"
SRCS+= opt_acpi.h acpi_if.h linux_acpi.c
.endif
SRCS+= ${LINUXKPI_GENSRCS}
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include
EXPORT_SYMS= YES
.include <bsd.kmod.mk>