Support a WANT_MAKE_VERSION.
This will be used soon for .dinclude support in FAST_DEPEND. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
f189805dcc
commit
22944b4134
6
Makefile
6
Makefile
@ -297,11 +297,9 @@ kernel: buildkernel installkernel
|
|||||||
# Perform a few tests to determine if the installed tools are adequate
|
# Perform a few tests to determine if the installed tools are adequate
|
||||||
# for building the world.
|
# for building the world.
|
||||||
#
|
#
|
||||||
# Note: if we ever need to care about the version of bmake, simply testing
|
|
||||||
# MAKE_VERSION against a required version should suffice.
|
|
||||||
#
|
|
||||||
upgrade_checks:
|
upgrade_checks:
|
||||||
.if ${HAVE_MAKE} != ${WANT_MAKE}
|
.if ${HAVE_MAKE} != ${WANT_MAKE} || \
|
||||||
|
(defined(WANT_MAKE_VERSION) && ${MAKE_VERSION} < ${WANT_MAKE_VERSION})
|
||||||
@(cd ${.CURDIR} && ${MAKE} ${WANT_MAKE:S,^f,,})
|
@(cd ${.CURDIR} && ${MAKE} ${WANT_MAKE:S,^f,,})
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user