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_firmware.c \ 10 linux_hrtimer.c \ 11 linux_idr.c \ 12 linux_kmod.c \ 13 linux_kthread.c \ 14 linux_lock.c \ 15 linux_page.c \ 16 linux_pci.c \ 17 linux_radix.c \ 18 linux_rcu.c \ 19 linux_seq_file.c \ 20 linux_schedule.c \ 21 linux_shmemfs.c \ 22 linux_shrinker.c \ 23 linux_slab.c \ 24 linux_tasklet.c \ 25 linux_usb.c \ 26 linux_work.c \ 27 linux_xarray.c 28 29.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ 30 ${MACHINE_CPUARCH} == "i386" 31SRCS+= opt_acpi.h acpi_if.h linux_acpi.c linux_fpu.c 32.endif 33 34SRCS+= ${LINUXKPI_GENSRCS} 35 36CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include 37CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include 38 39.include <bsd.kmod.mk> 40