From 71b18407c1401e9300aedb1afe1d6f47e76518cf Mon Sep 17 00:00:00 2001 From: Sebastien Marie Date: Sun, 14 Feb 2021 17:11:03 +0000 Subject: distrib: use ${MACHINE} instead of hardcoded value ok deraadt@ --- distrib/loongson/ramdisk/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'distrib/loongson') diff --git a/distrib/loongson/ramdisk/Makefile b/distrib/loongson/ramdisk/Makefile index 710bc733c19..cbccb014853 100644 --- a/distrib/loongson/ramdisk/Makefile +++ b/distrib/loongson/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.29 2021/02/13 18:46:52 semarie Exp $ +# $OpenBSD: Makefile,v 1.30 2021/02/14 17:11:02 semarie Exp $ FS= miniroot${OSrev}.img FSSIZE= 18432 @@ -33,15 +33,15 @@ ${FS}: bsd.strip ${CDROM}: bsd.rd rm -rf ${.OBJDIR}/cd-dir - mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/loongson + mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE} mkdir -p ${.OBJDIR}/cd-dir/etc - echo "set image /${OSREV}/loongson/bsd.rd" > ${.OBJDIR}/cd-dir/etc/boot.conf - cp ${.OBJDIR}/bsd.rd ${.OBJDIR}/cd-dir/${OSREV}/loongson + echo "set image /${OSREV}/${MACHINE}/bsd.rd" > ${.OBJDIR}/cd-dir/etc/boot.conf + cp ${.OBJDIR}/bsd.rd ${.OBJDIR}/cd-dir/${OSREV}/${MACHINE} mkhybrid -a -R -T -L -l -d -D -N -o ${.OBJDIR}/${CDROM} \ - -A "OpenBSD ${OSREV} loongson bootonly CD" \ + -A "OpenBSD ${OSREV} ${MACHINE} bootonly CD" \ -P "Copyright (c) `date +%Y` Theo de Raadt, The OpenBSD project" \ -p "Theo de Raadt " \ - -V "OpenBSD/loongson ${OSREV} boot CD" \ + -V "OpenBSD/${MACHINE} ${OSREV} boot CD" \ ${.OBJDIR}/cd-dir bsd.strip: bsd.rd -- cgit v1.2.3