Module Name:    src
Committed By:   skrll
Date:           Thu May 11 08:49:41 UTC 2023

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
risc-v: use ${MACHINE}-${MACHINE_ARCH} for the default RELEASEMACHINEDIR

Hopefully, this fixes the release binaries being available on cdn/nyftp.


To generate a diff of this commit:
cvs rdiff -u -r1.1314 -r1.1315 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.1314 src/share/mk/bsd.own.mk:1.1315
--- src/share/mk/bsd.own.mk:1.1314	Wed May 10 16:46:39 2023
+++ src/share/mk/bsd.own.mk	Thu May 11 08:49:41 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.1314 2023/05/10 16:46:39 christos Exp $
+#	$NetBSD: bsd.own.mk,v 1.1315 2023/05/11 08:49:41 skrll Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -28,8 +28,11 @@ MACHINE_MIPS64= 	0
 #
 # Subdirectory used below ${RELEASEDIR} when building a release
 #
-.if ${MACHINE:Mevbarm} || ${MACHINE:Mevbmips} \
-	|| ${MACHINE:Mevbsh3}
+.if \
+    ${MACHINE:Mevbarm} || \
+    ${MACHINE:Mevbmips} || \
+    ${MACHINE:Mevbsh3} || \
+    ${MACHINE:Mriscv}
 RELEASEMACHINEDIR?=	${MACHINE}-${MACHINE_ARCH}
 .else
 RELEASEMACHINEDIR?=	${MACHINE}

Reply via email to