Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR.
authorbdrewery <bdrewery@FreeBSD.org>
Wed, 1 Nov 2017 21:22:05 +0000 (21:22 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Wed, 1 Nov 2017 21:22:05 +0000 (21:22 +0000)
commit8800d532d31f76d66e5862cc967d8d9d76950280
treecd861b9d8d01f2b83ede657ac533cd19ee9409a8
parentbdee39477d61f91692c781596942b93f9bb1f263
Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR.

This changes the build OBJDIR from the older style of /usr/obj/<srcdir> for
native builds, and /usr/obj/<target>.<target_arch>/<srcdir> for cross builds to
a new simpler format of /usr/obj/<srcdir>/<target>.<target_arch>.  This
new format is used regardless of cross or native build.  It allows
easier management of multiple source tree object directories.

The UNIFIED_OBJDIR option will be removed and its feature made permanent
for the 12.0 release.

Relnotes: yes (don't note UNIFIED_OBJDIR option since it will be removed)
Prior work: D3711 D874
Reviewed by: gjb, sjg
Discussed at: https://lists.freebsd.org/pipermail/freebsd-arch/2016-May/017805.html
Discussed with: emaste
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12840
14 files changed:
Makefile.inc1
Makefile.libcompat
UPDATING
release/arm64/RPI3.conf
release/tools/vmimage.subr
share/man/man7/build.7
share/mk/bsd.obj.mk
share/mk/local.meta.sys.mk
share/mk/src.sys.env.mk
share/mk/src.sys.obj.mk
share/mk/sys.mk
tools/build/options/WITHOUT_UNIFIED_OBJDIR [new file with mode: 0644]
tools/build/options/WITH_UNIFIED_OBJDIR [new file with mode: 0644]
tools/build/options/makeman