2015-05-24 11:51:18 -04:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
2017-03-04 05:10:17 -05:00
|
|
|
.PATH: ${SRCTOP}/sys/compat/linux
|
2015-05-24 11:51:18 -04:00
|
|
|
|
|
|
|
|
KMOD= linux_common
|
2016-07-10 04:22:04 -04:00
|
|
|
SRCS= linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \
|
2015-05-24 13:47:20 -04:00
|
|
|
linux.c opt_compat.h device_if.h vnode_if.h bus_if.h
|
2015-05-24 11:51:18 -04:00
|
|
|
|
|
|
|
|
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>
|