1.PATH: ${SRCTOP}/sys/compat/linuxkpi/common/src 2 3KMOD= linuxkpi 4SRCS= linux_compat.c \ 5 linux_current.c \ 6 linux_devres.c \ 7 linux_dmi.c \ 8 linux_domain.c \ 9 linux_firmware.c \ 10 linux_fpu.c \ 11 linux_hrtimer.c \ 12 linux_idr.c \ 13 linux_interrupt.c \ 14 linux_i2c.c \ 15 linux_i2cbb.c \ 16 linux_kmod.c \ 17 linux_kthread.c \ 18 linux_lock.c \ 19 linux_netdev.c \ 20 linux_page.c \ 21 linux_pci.c \ 22 linux_radix.c \ 23 linux_rcu.c \ 24 linux_schedule.c \ 25 linux_seq_file.c \ 26 linux_shmemfs.c \ 27 linux_shrinker.c \ 28 linux_simple_attr.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 41.if ${MACHINE_CPUARCH} == "i386" 42SRCS+= opt_apic.h 43.endif 44 45SRCS+= opt_ddb.h 46SRCS+= ${LINUXKPI_GENSRCS} 47 48CFLAGS+= ${LINUXKPI_INCLUDES} 49CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include 50 51EXPORT_SYMS= YES 52 53.include <bsd.kmod.mk> 54