summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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