mirror of
https://github.com/opnsense/src.git
synced 2026-04-14 13:57:02 -04:00
thread emuldata to proc emuldata as it was originally intended. As we can have both 64 & 32 bit Linuxulator running any eventhandler can be called twice for us. To prevent this move eventhandlers code from linux_emul.c to the linux_common.ko module. Differential Revision: https://reviews.freebsd.org/D1073
25 lines
513 B
Makefile
25 lines
513 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../compat/linux
|
|
|
|
KMOD= linux_common
|
|
SRCS= linux_common.c linux_mib.c linux_util.c linux_emul.c \
|
|
opt_compat.h device_if.h vnode_if.h bus_if.h
|
|
|
|
EXPORT_SYMS=
|
|
EXPORT_SYMS+= linux_emul_path
|
|
EXPORT_SYMS+= linux_ioctl_register_handler
|
|
EXPORT_SYMS+= linux_ioctl_unregister_handler
|
|
EXPORT_SYMS+= linux_get_osname
|
|
EXPORT_SYMS+= linux_get_osrelease
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
.if defined(DEBUG)
|
|
CFLAGS+=-DDEBUG
|
|
.endif
|
|
.if defined(KTR)
|
|
CFLAGS+=-DKTR
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|