svn commit: r294736 - head/usr.bin

Ruslan Bukin br at FreeBSD.org
Mon Jan 25 16:49:41 UTC 2016


Author: br
Date: Mon Jan 25 16:49:39 2016
New Revision: 294736
URL: https://svnweb.freebsd.org/changeset/base/294736

Log:
  Disable gprof and users on RISC-V, they don't build.

Modified:
  head/usr.bin/Makefile

Modified: head/usr.bin/Makefile
==============================================================================
--- head/usr.bin/Makefile	Mon Jan 25 16:47:20 2016	(r294735)
+++ head/usr.bin/Makefile	Mon Jan 25 16:49:39 2016	(r294736)
@@ -268,7 +268,8 @@ SUBDIR.${MK_TOOLCHAIN}+=	ctags
 SUBDIR.${MK_TOOLCHAIN}+=	cxxfilt
 SUBDIR.${MK_TOOLCHAIN}+=	elfcopy
 SUBDIR.${MK_TOOLCHAIN}+=	file2c
-.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO gprof does not build
+.if ${MACHINE_ARCH} != "aarch64" && \ # ARM64TODO gprof does not build
+    ${MACHINE_CPUARCH} != "riscv" # RISCVTODO gprof does not build
 SUBDIR.${MK_TOOLCHAIN}+=	gprof
 .endif
 SUBDIR.${MK_TOOLCHAIN}+=	indent
@@ -290,7 +291,9 @@ SUBDIR.${MK_VT}+=	vtfontcvt
 SUBDIR.${MK_USB}+=	usbhidaction
 SUBDIR.${MK_USB}+=	usbhidctl
 SUBDIR.${MK_UTMPX}+=	last
+.if ${MACHINE_CPUARCH} != "riscv" # RISCVTODO users does not build
 SUBDIR.${MK_UTMPX}+=	users
+.endif
 SUBDIR.${MK_UTMPX}+=	who
 SUBDIR.${MK_SVN}+=	svn
 SUBDIR.${MK_SVNLITE}+=	svn


More information about the svn-src-all mailing list