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

of make.
This commit is contained in:
marcel 2014-03-02 00:14:57 +00:00
parent 7e4d144851
commit 315bf51cb1

View File

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