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

served by {OpenGrok

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