Allow overriding .MAKE.MAKEFILE_PREFERENCE.

This will be utilized by Ports tools to avoid some extra
stat(2) calls.

MFC after:	3 days
This commit is contained in:
Bryan Drewery 2018-02-28 20:06:03 +00:00
parent 6151aa3860
commit a12a1b473b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330127

View File

@ -314,7 +314,8 @@ SHELL= ${__MAKE_SHELL}
.MAKE.EXPAND_VARIABLES= yes
# Tell bmake the makefile preference
.MAKE.MAKEFILE_PREFERENCE= BSDmakefile makefile Makefile
MAKEFILE_PREFERENCE?= BSDmakefile makefile Makefile
.MAKE.MAKEFILE_PREFERENCE= ${MAKEFILE_PREFERENCE}
# Tell bmake to always pass job tokens, regardless of target depending on
# .MAKE or looking like ${MAKE}/${.MAKE}/$(MAKE)/$(.MAKE)/make.