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_interrupt.c \ 15 linux_i2c.c \ 16 linux_i2cbb.c \ 17 linux_kmod.c \ 18 linux_kthread.c \ 19 linux_lock.c \ 20 linux_netdev.c \ 21 linux_page.c \ 22 linux_pci.c \ 23 linux_radix.c \ 24 linux_rcu.c \ 25 linux_seq_file.c \ 26 linux_schedule.c \ 27 linux_shmemfs.c \ 28 linux_shrinker.c \ 29 linux_skbuff.c \ 30 linux_slab.c \ 31 linux_tasklet.c \ 32 linux_usb.c \ 33 linux_work.c \ 34 linux_xarray.c 35 36.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ 37 ${MACHINE_CPUARCH} == "i386" 38SRCS+= opt_acpi.h acpi_if.h linux_acpi.c 39.endif 40 41SRCS+= ${LINUXKPI_GENSRCS} 42 43CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include 44CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include 45 46EXPORT_SYMS= YES 47 48.include <bsd.kmod.mk> 49