Include FBT to modules build on RISC-V.

This commit is contained in:
Ruslan Bukin 2016-07-29 12:30:33 +00:00
parent 573d53050e
commit 92bf0e5e2a
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,9 @@ SUBDIR+= fbt fasttrap
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64"
SUBDIR+= systrace_freebsd32
.endif
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
.if ${MACHINE_CPUARCH} == "aarch64" || \
${MACHINE_CPUARCH} == "arm" || \
${MACHINE_CPUARCH} == "riscv"
SUBDIR+= fbt
.endif
.include <bsd.subdir.mk>

View File

@ -70,7 +70,7 @@ MODULE_DEPEND(dtraceall, dtmalloc, 1, 1, 1);
MODULE_DEPEND(dtraceall, dtnfscl, 1, 1, 1);
#endif
#if defined(__aarch64__) || defined(__amd64__) || defined(__arm__) || \
defined(__i386__) || defined(__powerpc__)
defined(__i386__) || defined(__powerpc__) || defined(__riscv__)
MODULE_DEPEND(dtraceall, fbt, 1, 1, 1);
#endif
#if defined(__amd64__) || defined(__i386__)