aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2022-08-09 21:57:01 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2022-08-09 21:57:01 +0000
commitf377243996062859b7fc011943aa781333843c32 (patch)
tree316b1e4ef6049691967771948d4443033a105340 /release/Makefile
parent5513d7dee5ddddb1ace63f2df3117c011fc4d50b (diff)
downloadsrc-f377243996062859b7fc011943aa781333843c32.tar.gz
src-f377243996062859b7fc011943aa781333843c32.zip
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
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile
index c8639b43a3be..fe932b3d1a76 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