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_kobject.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_schedule.c \ 26 linux_seq_file.c \ 27 linux_shmemfs.c \ 28 linux_shrinker.c \ 29 linux_simple_attr.c \ 30 linux_skbuff.c \ 31 linux_slab.c \ 32 linux_tasklet.c \ 33 linux_usb.c \ 34 linux_work.c \ 35 linux_xarray.c 36 37.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ 38 ${MACHINE_CPUARCH} == "i386" 39SRCS+= opt_acpi.h acpi_if.h linux_acpi.c 40.endif 41 42.if ${MACHINE_CPUARCH} == "i386" 43SRCS+= opt_apic.h 44.endif 45 46SRCS+= opt_ddb.h 47SRCS+= ${LINUXKPI_GENSRCS} 48 49CFLAGS+= ${LINUXKPI_INCLUDES} 50CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include 51 52EXPORT_SYMS= YES 53 54.include <bsd.kmod.mk> 55