Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk risc-v: use ${MACHINE}-${MACHINE_ARCH} for the defa...



details:   https://anonhg.NetBSD.org/src/rev/88e2d6a58d02
branches:  trunk
changeset: 374750:88e2d6a58d02
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu May 11 08:49:41 2023 +0000

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

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

diffstat:

 share/mk/bsd.own.mk |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r eac1a76c387d -r 88e2d6a58d02 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Thu May 11 08:01:36 2023 +0000
+++ b/share/mk/bsd.own.mk       Thu May 11 08:49:41 2023 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index