From f377243996062859b7fc011943aa781333843c32 Mon Sep 17 00:00:00 2001 From: Jessica Clarke Date: Tue, 9 Aug 2022 22:57:01 +0100 Subject: [PATCH] release: Forward ${MAKE} to etcupdate via the new -m flag This is in preparation for non-FreeBSD builds where make is GNU make and so etcupdate needs to know the name of or path to the bmake binary to use for its own builds. Reviewed by: gjb Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D35855 --- release/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/Makefile b/release/Makefile index c8639b43a3b..fe932b3d1a7 100644 --- a/release/Makefile +++ b/release/Makefile @@ -124,7 +124,7 @@ base.txz: "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET} ${.MAKE.JOBS:D-j${.MAKE.JOBS}}" \ -D "${.OBJDIR}/${DISTDIR}/base" sh ${WORLDDIR}/usr.sbin/etcupdate/etcupdate.sh extract -B \ - -M "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" \ + -m "${MAKE}" -M "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" \ -s ${WORLDDIR} -d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate" .endif # Package all components