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

Hopefully, this fixes the release binaries being available on cdn/nyftp.
This commit is contained in:
skrll 2023-05-11 08:49:41 +00:00
parent 0510ee8e2a
commit d39483a90d
1 changed files with 6 additions and 3 deletions

View File

@ -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}