summaryrefslogtreecommitdiff
path: root/Makefile.sys.inc
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.sys.inc')
-rw-r--r--Makefile.sys.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.sys.inc b/Makefile.sys.inc
index 6bb597de2fd7..c659234e9dff 100644
--- a/Makefile.sys.inc
+++ b/Makefile.sys.inc
@@ -38,6 +38,10 @@ MK_AUTO_OBJ= no
# just want to read any existing OBJDIR but we don't care if we can create
# or write to them.
.MAKEOVERRIDES+= MK_AUTO_OBJ
+.else
+# For top-level we always assume the MAKEOBJDIRPREFIX is writable rather than
+# falling back to .CURDIR.
+__objdir_writable= yes
.endif
.endif # empty(.MAKEOVERRIDES:MMK_AUTO_OBJ)