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_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