1# $FreeBSD$ 2.PATH: ${SRCTOP}/sys/compat/linuxkpi/common/src 3 4KMOD= linuxkpi 5SRCS= linux_compat.c \ 6 linux_current.c \ 7 linux_dmi.c \ 8 linux_hrtimer.c \ 9 linux_idr.c \ 10 linux_kmod.c \ 11 linux_kthread.c \ 12 linux_lock.c \ 13 linux_page.c \ 14 linux_pci.c \ 15 linux_radix.c \ 16 linux_rcu.c \ 17 linux_seq_file.c \ 18 linux_schedule.c \ 19 linux_shmemfs.c \ 20 linux_shrinker.c \ 21 linux_slab.c \ 22 linux_tasklet.c \ 23 linux_usb.c \ 24 linux_work.c \ 25 linux_xarray.c 26 27.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ 28 ${MACHINE_CPUARCH} == "i386" 29SRCS+= opt_acpi.h acpi_if.h linux_acpi.c linux_fpu.c 30.endif 31 32SRCS+= ${LINUXKPI_GENSRCS} 33 34CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include 35CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include 36 37.include <bsd.kmod.mk> 38