summaryrefslogtreecommitdiffstats
path: root/share/mk/sys.mk
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-04-03 16:20:21 +0000
committersjg <sjg@FreeBSD.org>2013-04-03 16:20:21 +0000
commit6702b6086c2b8dae1f42822959dc5d46e5df564d (patch)
tree100a9e6ba16576602e9f8214af0746543a220a40 /share/mk/sys.mk
parent063bf308cb2ec26b1f4b759a118f66e69a148ccf (diff)
downloadFreeBSD-src-6702b6086c2b8dae1f42822959dc5d46e5df564d.zip
FreeBSD-src-6702b6086c2b8dae1f42822959dc5d46e5df564d.tar.gz
Tell bmake to use the FreeBSD preferred makefile preference list.
PR: 177593 Reviewed by: obrien
Diffstat (limited to 'share/mk/sys.mk')
-rw-r--r--share/mk/sys.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 8b8a5ce..74cac60 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -333,6 +333,9 @@ OBJFORMAT?= elf
# Tell bmake to expand -V VAR by default
.MAKE.EXPAND_VARIABLES= yes
+# Tell bmake the makefile preference
+.MAKE.MAKEFILE_PREFERENCE?= BSDmakefile makefile Makefile
+
.if !defined(.PARSEDIR)
# We are not bmake, which is more aggressive about searching .PATH
# It is sometime necessary to curb its enthusiasm with .NOPATH
OpenPOWER on IntegriCloud