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
This commit is contained in:
Jessica Clarke 2022-08-09 22:57:01 +01:00
parent 5513d7dee5
commit f377243996

View file

@ -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