summaryrefslogtreecommitdiff
path: root/distrib/loongson
diff options
context:
space:
mode:
authorSebastien Marie <semarie@cvs.openbsd.org>2021-02-14 17:11:03 +0000
committerSebastien Marie <semarie@cvs.openbsd.org>2021-02-14 17:11:03 +0000
commit71b18407c1401e9300aedb1afe1d6f47e76518cf (patch)
tree49329091fd1c93fa5f72fbb2b5d4afd17a2b3500 /distrib/loongson
parent5fdb5ff0454e5fca152d7967e6fd039a79a5850d (diff)
distrib: use ${MACHINE} instead of hardcoded value
ok deraadt@
Diffstat (limited to 'distrib/loongson')
-rw-r--r--distrib/loongson/ramdisk/Makefile12
1 files changed, 6 insertions, 6 deletions
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 <deraadt@openbsd.org>" \
- -V "OpenBSD/loongson ${OSREV} boot CD" \
+ -V "OpenBSD/${MACHINE} ${OSREV} boot CD" \
${.OBJDIR}/cd-dir
bsd.strip: bsd.rd