-# $OpenBSD: Makefile,v 1.8 2020/05/25 15:53:14 deraadt Exp $
+# $OpenBSD: Makefile,v 1.9 2022/01/07 10:48:59 visa Exp $
NOMAN=
#MAN= boot.8
+RDBOOT= ${.CURDIR}/../rdboot/obj/rdboot
+
.if ${MACHINE} == "octeon"
all: bsd rdboot
${MAKE} config && ${MAKE} clean && ${MAKE}
cp -p ${.CURDIR}/../../compile/BOOT/obj/bsd bsd
-rdboot:
- cp -p ${.CURDIR}/../rdboot/obj/rdboot rdboot
+rdboot: ${RDBOOT}
+ cp -p ${RDBOOT} rdboot
strip rdboot
mr.fs: rdboot
-# $OpenBSD: Makefile,v 1.1 2020/07/16 19:48:58 kettenis Exp $
+# $OpenBSD: Makefile,v 1.2 2022/01/07 10:48:59 visa Exp $
NOMAN=
#MAN= boot.8
+RDBOOT= ${.CURDIR}/../rdboot/obj/rdboot
+
.if ${MACHINE} == "powerpc64"
all: bsd rdboot
${MAKE} config && ${MAKE} clean && ${MAKE}
cp -p ${.CURDIR}/../../compile/BOOT/obj/bsd bsd
-rdboot:
- cp -p ${.CURDIR}/../rdboot/obj/rdboot rdboot
+rdboot: ${RDBOOT}
+ cp -p ${RDBOOT} rdboot
strip rdboot
mr.fs: rdboot