193d9e768b
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
26 lines
531 B
Makefile
26 lines
531 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/compat/linux
|
|
|
|
KMOD= linux_common
|
|
SRCS= linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \
|
|
linux.c opt_compat.h device_if.h vnode_if.h bus_if.h
|
|
|
|
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>
|