diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-28 15:15:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-28 15:15:41 +0000 |
commit | b23dbd1048b63741bb0d8faf81e0932a68989654 (patch) | |
tree | f289f785ff8d06b43bdb421d35e1451d6a61ccf7 /distrib/landisk/ramdisk | |
parent | 2b23201f01b0081e28e50e81d0bf908c4237c81f (diff) |
the BSD_RD variable is pointless
Diffstat (limited to 'distrib/landisk/ramdisk')
-rw-r--r-- | distrib/landisk/ramdisk/Makefile | 15 |
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 |