mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 00:34:33 -05:00
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
19 lines
350 B
Makefile
19 lines
350 B
Makefile
# $FreeBSD$
|
|
|
|
SYSDIR?= ${SRCTOP}/sys
|
|
|
|
KMOD= dtraceall
|
|
SRCS= dtraceall.c opt_compat.h opt_nfs.h
|
|
|
|
CFLAGS+= -I${SYSDIR}
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
opt_compat.h:
|
|
echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -include ${SYSDIR}/cddl/compat/opensolaris/sys/debug_compat.h
|