diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-11-02 18:09:07 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-11-02 18:09:07 +0000 |
commit | 615a1e70b0a5b3e33ae0a0476c2170d12c12e008 (patch) | |
tree | 5961bce36b8e1702d8295f1c9665af5f83570eeb /UPDATING | |
parent | 4dc89c4d51cc6e82623e6bfb48718d9f7752312a (diff) | |
download | src-test2-615a1e70b0a5b3e33ae0a0476c2170d12c12e008.tar.gz src-test2-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-- | UPDATING | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |