xref: /freebsd-14.2/sys/modules/linux_common/Makefile (revision c19fc5cd)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# $FreeBSD$
2
3.PATH: ${SRCTOP}/sys/compat/linux
4.if ${MACHINE_CPUARCH} == "amd64"
5.PATH: ${SRCTOP}/sys/x86/linux
6.endif
7
8KMOD=	linux_common
9SRCS=	linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \
10	linux_dummy.c linux_errno.c linux_netlink.c \
11	linux.c device_if.h vnode_if.h bus_if.h opt_inet6.h opt_inet.h
12
13.if ${MACHINE_CPUARCH} == "amd64"
14SRCS+=	linux_x86.c linux_vdso_selector_x86.c
15.endif
16
17EXPORT_SYMS=
18EXPORT_SYMS+=	linux_emul_path
19EXPORT_SYMS+=	linux_get_osname
20EXPORT_SYMS+=	linux_get_osrelease
21EXPORT_SYMS+=	linux_use_real_ifname
22
23.if !defined(KERNBUILDDIR)
24.warning Building Linuxulator outside of a kernel does not make sense
25.endif
26
27EXPORT_SYMS=	YES
28
29.include <bsd.kmod.mk>
30

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025