summaryrefslogtreecommitdiff
path: root/distrib/landisk/ramdisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/landisk/ramdisk/Makefile')
-rw-r--r--distrib/landisk/ramdisk/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/distrib/landisk/ramdisk/Makefile b/distrib/landisk/ramdisk/Makefile
index ef257130c32..9b4b45ee962 100644
--- a/distrib/landisk/ramdisk/Makefile
+++ b/distrib/landisk/ramdisk/Makefile
@@ -1,10 +1,9 @@
-# $OpenBSD: Makefile,v 1.21 2019/04/05 21:08:00 deraadt Exp $
+# $OpenBSD: Makefile,v 1.22 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,11 +23,11 @@ all ${IMAGE}:
.else
# mix config is not needed.
-all: ${BSD_RD}
+all: bsd.rd
-${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
@@ -49,7 +48,7 @@ bsd:
.ifdef RELEASEDIR
install:
- cp ${BSD_RD} ${RELEASEDIR}
+ cp bsd.rd ${RELEASEDIR}
.endif
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
@@ -63,7 +62,7 @@ ${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}
+ lib*.a lib*.olist ${CBIN}.map *.o *.lo *.c bsd bsd.rd
rm -f instbin.conf
rm -rf cd-dir ${IMAGE}.d