diff options
Diffstat (limited to 'distrib/macppc')
-rw-r--r-- | distrib/macppc/ramdisk/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/distrib/macppc/ramdisk/Makefile b/distrib/macppc/ramdisk/Makefile index f26ee2a31f4..38e1579ff43 100644 --- a/distrib/macppc/ramdisk/Makefile +++ b/distrib/macppc/ramdisk/Makefile @@ -1,10 +1,9 @@ -# $OpenBSD: Makefile,v 1.36 2019/04/28 14:48:10 deraadt Exp $ +# $OpenBSD: Makefile,v 1.37 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,13 +23,13 @@ all ${IMAGE}: .else # mix config is not needed. -all: ${BSD_RD} cd +all: bsd.rd cd -${BSD_RD}: ${IMAGE} bsd - cp bsd ${BSD_RD} - rdsetroot ${BSD_RD} ${IMAGE} +bsd.rd: ${IMAGE} bsd + cp bsd bsd.rd + rdsetroot bsd.rd ${IMAGE} -cd: ${BSD_RD} +cd: bsd.rd -rm -rf ${.OBJDIR}/cd-dir/ -@mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/macppc/ cp bsd.rd ${.OBJDIR}/cd-dir/${OSREV}/macppc/bsd.rd @@ -85,12 +84,12 @@ ${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} cd${REV}.iso + lib*.a lib*.olist ${CBIN}.map *.o *.lo *.c bsd bsd.rd cd${REV}.iso rm -rf cd-dir ${IMAGE}.d .ifdef RELEASEDIR install: - cp ${BSD_RD} cd${REV}.iso ${RELEASEDIR} + cp bsd.rd cd${REV}.iso ${RELEASEDIR} .endif .include <bsd.obj.mk> |