Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2016 12:30:34 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303480 - in head/sys/modules/dtrace: . dtraceall
Message-ID:  <201607291230.u6TCUYKA076955@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: br
Date: Fri Jul 29 12:30:33 2016
New Revision: 303480
URL: https://svnweb.freebsd.org/changeset/base/303480

Log:
  Include FBT to modules build on RISC-V.

Modified:
  head/sys/modules/dtrace/Makefile
  head/sys/modules/dtrace/dtraceall/dtraceall.c

Modified: head/sys/modules/dtrace/Makefile
==============================================================================
--- head/sys/modules/dtrace/Makefile	Fri Jul 29 12:29:17 2016	(r303479)
+++ head/sys/modules/dtrace/Makefile	Fri Jul 29 12:30:33 2016	(r303480)
@@ -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>

Modified: head/sys/modules/dtrace/dtraceall/dtraceall.c
==============================================================================
--- head/sys/modules/dtrace/dtraceall/dtraceall.c	Fri Jul 29 12:29:17 2016	(r303479)
+++ head/sys/modules/dtrace/dtraceall/dtraceall.c	Fri Jul 29 12:30:33 2016	(r303480)
@@ -70,7 +70,7 @@ MODULE_DEPEND(dtraceall, dtmalloc, 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__)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607291230.u6TCUYKA076955>