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