Use ${MAKE} so that we always use the same version/implementation

of make.
This commit is contained in:
Marcel Moolenaar 2014-03-02 00:14:57 +00:00
parent 44c25a3d82
commit 3b8f61cbf0

View File

@ -132,8 +132,8 @@ OSRELDATE= 0
.endif .endif
.if !defined(VERSION) .if !defined(VERSION)
REVISION!= make -C ${SRCDIR}/release -V REVISION REVISION!= ${MAKE} -C ${SRCDIR}/release -V REVISION
BRANCH!= make -C ${SRCDIR}/release -V BRANCH BRANCH!= ${MAKE} -C ${SRCDIR}/release -V BRANCH
SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \ SRCRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \
${SRCDIR}/sys/sys/param.h ${SRCDIR}/sys/sys/param.h
VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE} VERSION= FreeBSD ${REVISION}-${BRANCH:C/-p[0-9]+$//} ${TARGET_ARCH} ${SRCRELDATE}