summaryrefslogtreecommitdiff
path: root/distrib/macppc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-28 15:15:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-28 15:15:41 +0000
commitb23dbd1048b63741bb0d8faf81e0932a68989654 (patch)
treef289f785ff8d06b43bdb421d35e1451d6a61ccf7 /distrib/macppc
parent2b23201f01b0081e28e50e81d0bf908c4237c81f (diff)
the BSD_RD variable is pointless
Diffstat (limited to 'distrib/macppc')
-rw-r--r--distrib/macppc/ramdisk/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/distrib/macppc/ramdisk/Makefile b/distrib/macppc/ramdisk/Makefile
index f26ee2a31f4..38e1579ff43 100644
--- a/distrib/macppc/ramdisk/Makefile
+++ b/distrib/macppc/ramdisk/Makefile
@@ -1,10 +1,9 @@
-# $OpenBSD: Makefile,v 1.36 2019/04/28 14:48:10 deraadt Exp $
+# $OpenBSD: Makefile,v 1.37 2019/04/28 15:15:39 deraadt Exp $
REV= ${OSrev}
TOP= ${.CURDIR}/..
-BSD_RD= bsd.rd
IMAGE= mr.fs
CBIN?= instbin
CRUNCHCONF?= ${CBIN}.conf
@@ -24,13 +23,13 @@ all ${IMAGE}:
.else
# mix config is not needed.
-all: ${BSD_RD} cd
+all: bsd.rd cd
-${BSD_RD}: ${IMAGE} bsd
- cp bsd ${BSD_RD}
- rdsetroot ${BSD_RD} ${IMAGE}
+bsd.rd: ${IMAGE} bsd
+ cp bsd bsd.rd
+ rdsetroot bsd.rd ${IMAGE}
-cd: ${BSD_RD}
+cd: bsd.rd
-rm -rf ${.OBJDIR}/cd-dir/
-@mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/macppc/
cp bsd.rd ${.OBJDIR}/cd-dir/${OSREV}/macppc/bsd.rd
@@ -85,12 +84,12 @@ ${CRUNCHCONF}: ${LISTS}
clean cleandir:
/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
- lib*.a lib*.olist ${CBIN}.map *.o *.lo *.c bsd ${BSD_RD} cd${REV}.iso
+ lib*.a lib*.olist ${CBIN}.map *.o *.lo *.c bsd bsd.rd cd${REV}.iso
rm -rf cd-dir ${IMAGE}.d
.ifdef RELEASEDIR
install:
- cp ${BSD_RD} cd${REV}.iso ${RELEASEDIR}
+ cp bsd.rd cd${REV}.iso ${RELEASEDIR}
.endif
.include <bsd.obj.mk>