mirror of
https://github.com/opnsense/src.git
synced 2026-02-11 23:06:12 -05:00
Turn on the required options in the ERL config file, and ensure that the fbt module is listed as a dependency for mips in the modules/dtrace/dtraceall/dtraceall.c file. PR: 220346 Reviewed by: gnn, markj MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D12227
19 lines
381 B
Makefile
19 lines
381 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" || ${MACHINE_ARCH} == "mips64"
|
|
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
|