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