summaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-11-02 18:09:07 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-11-02 18:09:07 +0000
commit615a1e70b0a5b3e33ae0a0476c2170d12c12e008 (patch)
tree5961bce36b8e1702d8295f1c9665af5f83570eeb /UPDATING
parent4dc89c4d51cc6e82623e6bfb48718d9f7752312a (diff)
downloadsrc-test-615a1e70b0a5b3e33ae0a0476c2170d12c12e008.tar.gz
src-test-615a1e70b0a5b3e33ae0a0476c2170d12c12e008.zip
Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds.
This can be disabled by putting WITHOUT_AUTO_OBJ=yes in /etc/src-env.conf, not /etc/src.conf, or passing it in the environment. The purpose of this rather than simply flipping the default of AUTO_OBJ to yes is to avoid hassling users with auto.obj.mk failures if the wanted OBJDIR is not writable. It will fallback to writing to the source directory like it does today if MAKEOBJDIRPREFIX is not writable. The act of enabling MK_AUTO_OBJ disables all 'make obj' treewalks since previous work has made those not run if MK_AUTO_OBJ==yes in Makefile.inc1. Relnotes: yes Reviewed by: sjg Discussed at: https://lists.freebsd.org/pipermail/freebsd-arch/2016-May/017805.html Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D12841
Notes
Notes: svn path=/head/; revision=325330
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING8
1 files changed, 8 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index 3808ea0167af5..7cd3e3d9d988c 100644
--- a/UPDATING
+++ b/UPDATING
@@ -51,6 +51,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
****************************** SPECIAL WARNING: ******************************
+20171102:
+ Building in a FreeBSD src checkout will automatically create object
+ directories now rather than store files in the current directory if
+ 'make obj' was not ran. Calling 'make obj' is no longer necesarry.
+ This feature can be disabled by setting WITHOUT_AUTO_OBJ=yes in
+ /etc/src-env.conf (not /etc/src.conf), or passing the option in the
+ environment.
+
20171101:
The default MAKEOBJDIR has changed from /usr/obj/<srcdir> for native
builds, and /usr/obj/<arch>/<srcdir> for cross-builds, to a unified