2015-01-17 16:36:39 +00:00
|
|
|
# $FreeBSD$
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/compat/linuxkpi/common/src
|
2015-01-17 16:36:39 +00:00
|
|
|
|
2015-10-22 09:50:45 +00:00
|
|
|
KMOD= linuxkpi
|
2017-06-26 21:14:33 +00:00
|
|
|
SRCS= linux_compat.c \
|
2017-02-21 12:43:02 +00:00
|
|
|
linux_current.c \
|
2020-10-02 18:28:00 +00:00
|
|
|
linux_dmi.c \
|
2017-06-26 16:28:46 +00:00
|
|
|
linux_hrtimer.c \
|
2017-06-26 21:14:33 +00:00
|
|
|
linux_idr.c \
|
|
|
|
linux_kmod.c \
|
2017-02-21 12:43:02 +00:00
|
|
|
linux_kthread.c \
|
2017-03-09 18:33:40 +00:00
|
|
|
linux_lock.c \
|
2017-02-22 19:39:54 +00:00
|
|
|
linux_page.c \
|
2015-01-17 16:36:39 +00:00
|
|
|
linux_pci.c \
|
|
|
|
linux_radix.c \
|
2017-02-21 18:04:21 +00:00
|
|
|
linux_rcu.c \
|
2019-05-16 21:17:18 +00:00
|
|
|
linux_seq_file.c \
|
2017-06-09 19:41:12 +00:00
|
|
|
linux_schedule.c \
|
2020-02-21 09:28:45 +00:00
|
|
|
linux_shmemfs.c \
|
2020-12-22 19:15:01 +01:00
|
|
|
linux_shrinker.c \
|
2017-03-08 11:09:27 +00:00
|
|
|
linux_slab.c \
|
2017-02-21 13:23:53 +00:00
|
|
|
linux_tasklet.c \
|
2017-03-07 12:09:14 +00:00
|
|
|
linux_usb.c \
|
2020-08-27 10:28:12 +00:00
|
|
|
linux_work.c \
|
|
|
|
linux_xarray.c
|
2015-01-17 16:36:39 +00:00
|
|
|
|
2020-11-09 13:20:14 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
|
|
|
|
${MACHINE_CPUARCH} == "i386"
|
2021-01-12 12:02:38 +01:00
|
|
|
SRCS+= opt_acpi.h acpi_if.h linux_acpi.c linux_fpu.c
|
2020-11-09 13:20:14 +00:00
|
|
|
.endif
|
|
|
|
|
2020-03-20 21:06:58 +00:00
|
|
|
SRCS+= ${LINUXKPI_GENSRCS}
|
2015-01-17 16:36:39 +00:00
|
|
|
|
2017-03-04 10:10:17 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include
|
2015-01-17 16:36:39 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|