summaryrefslogtreecommitdiff
path: root/distrib/arm64
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/arm64
parent2b23201f01b0081e28e50e81d0bf908c4237c81f (diff)
the BSD_RD variable is pointless
Diffstat (limited to 'distrib/arm64')
-rw-r--r--distrib/arm64/ramdisk/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/distrib/arm64/ramdisk/Makefile b/distrib/arm64/ramdisk/Makefile
index fa6cc53222e..e92c4357a39 100644
--- a/distrib/arm64/ramdisk/Makefile
+++ b/distrib/arm64/ramdisk/Makefile
@@ -1,10 +1,9 @@
-# $OpenBSD: Makefile,v 1.5 2019/04/05 21:08:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.6 2019/04/28 15:15:39 deraadt Exp $
REV= ${OSrev}
TOP= ${.CURDIR}/..
-BSD_RD= bsd.rd
IMAGE= mr.fs
CBIN?= instbin
CRUNCHCONF?= ${CBIN}.conf
@@ -28,7 +27,7 @@ all ${IMAGE}:
.else
ALLBSD= bsd
-ALLBSDRD= ${BSD_RD}
+ALLBSDRD= bsd.rd
all: ${ALLBSDRD}
bsd:
@@ -36,9 +35,9 @@ bsd:
su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && exec ${MAKE}'
cp -p ${TOP}/../../sys/arch/arm64/compile/RAMDISK/obj/bsd bsd
-${BSD_RD}: ${IMAGE} bsd
- cp bsd ${BSD_RD}
- rdsetroot ${BSD_RD} ${IMAGE}
+bsd.rd: ${IMAGE} bsd
+ cp bsd bsd.rd
+ rdsetroot bsd.rd ${IMAGE}
${IMAGE}: ${CBIN}
rm -rf $@.d