summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2021-11-14 15:48:02 +0000
committerskrll <skrll@NetBSD.org>2021-11-14 15:48:02 +0000
commit747b2fcf4ba2b0295cb51ccdaa76fbc64a3fbc93 (patch)
tree065b8d68399440cae7af945965821a0cf2961380 /tools
parent0f51958b0866efee7bf9c8ca6eeaa1f818b4eb04 (diff)
Make dtc on riscv
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 177cd1846cd..5160ae18e9a 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.211 2021/05/27 08:41:35 cjep Exp $
+# $NetBSD: Makefile,v 1.212 2021/11/14 15:48:02 skrll Exp $
.include <bsd.own.mk>
.include <bsd.endian.mk>
@@ -219,6 +219,12 @@ SUBDIR+= elftosb
${MACHINE} == "evbppc" || ${MACHINE} == "evbsh3" || \
${MACHINE} == "sandpoint"
SUBDIR+= mkubootimage
+.endif
+
+.if ${MACHINE} == "evbarm" || ${MACHINE} == "evbmips" || \
+ ${MACHINE} == "evbppc" || ${MACHINE} == "evbsh3" || \
+ ${MACHINE} == "sandpoint" || \
+ ${MACHINE_CPU} == "riscv"
SUBDIR+= libfdt .WAIT
SUBDIR+= dtc
.endif