summaryrefslogtreecommitdiff
path: root/distrib/armv7/ramdisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/armv7/ramdisk/Makefile')
-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