From 2875187d805c7c8c5f44f14a6fae3c883715bd3b Mon Sep 17 00:00:00 2001 From: visa Date: Fri, 7 Jan 2022 10:48:59 +0000 Subject: [PATCH] Add missing dependency. --- sys/arch/octeon/stand/boot/Makefile | 8 +++++--- sys/arch/powerpc64/stand/boot/Makefile | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/sys/arch/octeon/stand/boot/Makefile b/sys/arch/octeon/stand/boot/Makefile index 405521c5df6..47feb4a3eef 100644 --- a/sys/arch/octeon/stand/boot/Makefile +++ b/sys/arch/octeon/stand/boot/Makefile @@ -1,8 +1,10 @@ -# $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 @@ -11,8 +13,8 @@ bsd: ${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 diff --git a/sys/arch/powerpc64/stand/boot/Makefile b/sys/arch/powerpc64/stand/boot/Makefile index 0919efd524f..04f2a3f36a5 100644 --- a/sys/arch/powerpc64/stand/boot/Makefile +++ b/sys/arch/powerpc64/stand/boot/Makefile @@ -1,8 +1,10 @@ -# $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 @@ -11,8 +13,8 @@ bsd: ${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 -- 2.20.1