Module Name: src
Committed By: skrll
Date: Sun Nov 14 15:48:02 UTC 2021
Modified Files:
src/tools: Makefile
Log Message:
Make dtc on riscv
To generate a diff of this commit:
cvs rdiff -u -r1.211 -r1.212 src/tools/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/Makefile
diff -u src/tools/Makefile:1.211 src/tools/Makefile:1.212
--- src/tools/Makefile:1.211 Thu May 27 08:41:35 2021
+++ src/tools/Makefile Sun Nov 14 15:48:02 2021
@@ -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