opnsense-src/sys/modules/linuxkpi/Makefile
Emmanuel Vadot 1179b649cf linuxkpi: Move shmem related functions in it's own file
For drmkpi (D23085) we don't want the Linux struct file as we don't emulate
everything. Also the prototypes should be in shmem_fs.h to have 100%
compatibility with Linux.

Reviewed by:	hselasky
MFC after:	Maybe
Differential Revision:	https://reviews.freebsd.org/D23764
2020-02-21 09:28:45 +00:00

35 lines
612 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/sys/compat/linuxkpi/common/src
KMOD= linuxkpi
SRCS= linux_compat.c \
linux_current.c \
linux_hrtimer.c \
linux_idr.c \
linux_kmod.c \
linux_kthread.c \
linux_lock.c \
linux_page.c \
linux_pci.c \
linux_radix.c \
linux_rcu.c \
linux_seq_file.c \
linux_schedule.c \
linux_shmemfs.c \
linux_slab.c \
linux_tasklet.c \
linux_usb.c \
linux_work.c
SRCS+= bus_if.h \
device_if.h \
pci_if.h \
vnode_if.h \
usb_if.h \
opt_usb.h \
opt_stack.h
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include
.include <bsd.kmod.mk>