aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linuxkpi/Makefile
blob: 7bb4080fa81dd9439c6e4d0da7792d24ed514678 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $FreeBSD$
.PATH:	${SRCTOP}/sys/compat/linuxkpi/common/src

KMOD=	linuxkpi
SRCS=	linux_compat.c \
	linux_current.c \
	linux_dmi.c \
	linux_firmware.c \
	linux_hrtimer.c \
	linux_idr.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 linux_fpu.c
.endif

SRCS+=	${LINUXKPI_GENSRCS}

CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include

.include <bsd.kmod.mk>