aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux_common/Makefile
blob: 033fabe2718865c6c86bac755491a60f9f65fc1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $FreeBSD$

.PATH: ${SRCTOP}/sys/compat/linux ${SRCTOP}/sys/x86/linux

KMOD=	linux_common
SRCS=	linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \
	linux_dummy.c linux_errno.c \
	linux.c device_if.h vnode_if.h bus_if.h opt_inet6.h

.if ${MACHINE_CPUARCH} == "amd64"
SRCS+=	linux_x86.c
.endif

EXPORT_SYMS=
EXPORT_SYMS+=	linux_emul_path
EXPORT_SYMS+=	linux_get_osname
EXPORT_SYMS+=	linux_get_osrelease
EXPORT_SYMS+=	linux_use_real_ifname

.if !defined(KERNBUILDDIR)
.warning Building Linuxulator outside of a kernel does not make sense
.endif

EXPORT_SYMS=	YES

.include <bsd.kmod.mk>