summaryrefslogtreecommitdiff
path: root/usr.bin/Makefile
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2016-01-25 16:49:39 +0000
committerRuslan Bukin <br@FreeBSD.org>2016-01-25 16:49:39 +0000
commit1c052a8c31b8ffba552eb1ab93b3645638d1c5a1 (patch)
treec4780421607d07e2cb222b74e60c925d1b4198e0 /usr.bin/Makefile
parent2e77021e4cfde3998f5e007931cdf67f3b094da0 (diff)
downloadsrc-test-1c052a8c31b8ffba552eb1ab93b3645638d1c5a1.tar.gz
src-test-1c052a8c31b8ffba552eb1ab93b3645638d1c5a1.zip
Disable gprof and users on RISC-V, they don't build.
Notes
Notes: svn path=/head/; revision=294736
Diffstat (limited to 'usr.bin/Makefile')
-rw-r--r--usr.bin/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 86ea20980fc44..474bee1091d8b 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -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