summaryrefslogtreecommitdiff
path: root/BUILDING
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2023-05-18 14:22:53 +0000
committerlukem <lukem@NetBSD.org>2023-05-18 14:22:53 +0000
commitb74305786e37c990a24866bff7c4c80b73740e4f (patch)
tree273fd4fee80af751a8ca23f2ec87850521970364 /BUILDING
parent95e62aba8e19ba75c74006aab50ebda033eaa5fa (diff)
BUILDING: TMPDIR must not be noexec
Describe $TMPDIR as used by build.sh, and add a note that it can't be mounted noexec. PR toolchain/44459
Diffstat (limited to 'BUILDING')
-rw-r--r--BUILDING13
1 files changed, 11 insertions, 2 deletions
diff --git a/BUILDING b/BUILDING
index c2a153d4082..761234ad183 100644
--- a/BUILDING
+++ b/BUILDING
@@ -157,6 +157,15 @@ CONFIGURATION
cannot usefully be set inside a Makefile, including
mk.conf or ${MAKECONF}.
+ TMPDIR Top-level directory to store temporary directories used
+ by build.sh before paths to other directories such as
+ .OBJDIR can be determined.
+
+ Note: Must support execution of binaries. I.e.,
+ without mount(8)'s -o noexec option.
+
+ Default: "/tmp".
+
"make" variables
Several variables control the behavior of NetBSD builds. Unless
otherwise specified, these variables may be set in either the process
@@ -1115,7 +1124,7 @@ OBSOLETE VARIABLES
TOOLCHAIN_MISSING=yes.
SEE ALSO
- make(1), hier(7), release(7), etcupdate(8), installboot(8),
+ make(1), hier(7), release(7), etcupdate(8), installboot(8), mount(8),
postinstall(8), sysinst(8), pkgsrc/sysutils/cdrtools
HISTORY
@@ -1128,4 +1137,4 @@ CAVEATS
in object directories. Instead, one may have to manually remove the
files. Consult the UPDATING file for notices concerning this.
-NetBSD May 16, 2023 NetBSD
+NetBSD May 18, 2023 NetBSD