2015-05-24 15:51:18 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-03-04 10:10:17 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/compat/linux
|
2015-05-24 15:51:18 +00:00
|
|
|
|
|
|
|
KMOD= linux_common
|
2016-07-10 08:22:04 +00:00
|
|
|
SRCS= linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \
|
2018-03-16 14:46:38 +00:00
|
|
|
linux_errno.c \
|
2019-05-13 17:48:16 +00:00
|
|
|
linux.c device_if.h vnode_if.h bus_if.h opt_inet6.h
|
2015-05-24 15:51:18 +00:00
|
|
|
|
|
|
|
EXPORT_SYMS=
|
|
|
|
EXPORT_SYMS+= linux_emul_path
|
2018-03-22 12:58:49 +00:00
|
|
|
EXPORT_SYMS+= linux_errtbl
|
2015-05-24 15:51:18 +00:00
|
|
|
EXPORT_SYMS+= linux_ioctl_register_handler
|
|
|
|
EXPORT_SYMS+= linux_ioctl_unregister_handler
|
|
|
|
EXPORT_SYMS+= linux_get_osname
|
|
|
|
EXPORT_SYMS+= linux_get_osrelease
|
|
|
|
|
2019-05-13 18:28:40 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
|
|
|
.warning Building Linuxulator outside of a kernel does not make sense
|
|
|
|
.endif
|
|
|
|
|
2015-05-24 15:51:18 +00:00
|
|
|
.include <bsd.kmod.mk>
|