1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/share/mk
Bryan Drewery 615a1e70b0 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
2017-11-02 18:09:07 +00:00
..
atf.test.mk
auto.obj.mk
bsd.arch.inc.mk
bsd.clang-analyze.mk
bsd.compiler.mk CCACHE_BUILD: Follow-up r321880: Fix some PATH issues with buildworld. 2017-08-01 18:26:20 +00:00
bsd.confs.mk
bsd.cpu.mk Support armv7 builds for userland 2017-10-05 23:01:33 +00:00
bsd.crunchgen.mk AUTO_OBJ can work for crunchgen build-tools. 2017-10-31 02:12:13 +00:00
bsd.dep.mk Use OBJS_SRCS_FILTER to control setting OBJS from SRCS 2017-09-16 05:42:27 +00:00
bsd.doc.mk
bsd.dtb.mk
bsd.endian.mk
bsd.files.mk Respect INSTALL_AS_USER for FILES. 2017-07-21 16:14:35 +00:00
bsd.incs.mk
bsd.info.mk
bsd.init.mk Use OBJS_SRCS_FILTER to control setting OBJS from SRCS 2017-09-16 05:42:27 +00:00
bsd.kmod.mk
bsd.lib.mk Improve computation of {BC,LL}OBJS. 2017-10-18 00:33:20 +00:00
bsd.libnames.mk Disconnect libstand from the build. 2017-10-09 22:12:57 +00:00
bsd.linker.mk lld 5.0 supports filter libraries, so enable linker feature flag 2017-07-24 15:39:09 +00:00
bsd.links.mk Re-remove excess / for installing SYMLINKS 2017-08-12 18:11:41 +00:00
bsd.man.mk
bsd.mkopt.mk
bsd.nls.mk
bsd.obj.mk Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR. 2017-11-01 21:22:05 +00:00
bsd.opts.mk Add limited sandbox capability to "make check" 2017-08-14 19:03:05 +00:00
bsd.own.mk Add SVNVERSION_CMD to bsd.own.mk, adding the capability to include 2017-08-11 19:21:40 +00:00
bsd.port.mk
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk Improve computation of {BC,LL}OBJS. 2017-10-18 00:33:20 +00:00
bsd.progs.mk PROGS: Fix ESTALE errors on NFS while cleaning in directories with PROGS. 2017-07-24 17:54:03 +00:00
bsd.README Add limited sandbox capability to "make check" 2017-08-14 19:03:05 +00:00
bsd.snmpmod.mk
bsd.stand.mk Support for v1.10 (latest) of RISC-V privilege specification. 2017-08-10 14:18:09 +00:00
bsd.subdir.mk make obj: Skip treewalk if AUTO_OBJ is enabled. 2017-11-01 21:22:16 +00:00
bsd.suffixes-posix.mk
bsd.suffixes.mk
bsd.symver.mk
bsd.sys.mk gcc builds: reenable -Wstrict-overflow for bsd.sys.mk 2017-09-14 03:41:49 +00:00
bsd.test.mk Sort the tests alphabetically before adding them to the Kyuafiles 2017-07-17 18:20:54 +00:00
dirdeps.mk
gendirdeps.mk
host-target.mk
install-new.mk
local.autodep.mk
local.dirdeps.mk DIRDEPS_BUILD: libgcc now depends on MK_LLVM_LIBUNWIND 2017-10-31 00:03:36 +00:00
local.gendirdeps.mk DIRDEPS_BUILD: libgcc now depends on MK_LLVM_LIBUNWIND 2017-10-31 00:03:36 +00:00
local.init.mk
local.meta.sys.mk Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR. 2017-11-01 21:22:05 +00:00
local.sys.env.mk AUTO_OBJ: auto.obj.mk mkdir -p simplification 2017-10-29 01:21:36 +00:00
local.sys.mk Follow-up r320061: Need to respect make.conf/env LIBDIR overrides. 2017-06-19 18:08:02 +00:00
Makefile Add basic bsd.linker.mk auto included from bsd.compiler.mk. 2017-06-22 21:03:20 +00:00
meta2deps.py
meta2deps.sh
meta.autodep.mk
meta.stage.mk
meta.subdir.mk
meta.sys.mk
netbsd-tests.test.mk
plain.test.mk
src.init.mk
src.libnames.mk Extract a set of pmcstat functions and interfaces to the new internal 2017-10-24 16:28:00 +00:00
src.opts.mk Follow-up r320149: Enable GPL_DTC if we're using GCC as the cross-compiler. 2017-10-31 00:03:32 +00:00
src.sys.env.mk Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR. 2017-11-01 21:22:05 +00:00
src.sys.mk Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds. 2017-11-02 18:09:07 +00:00
src.sys.obj.mk Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds. 2017-11-02 18:09:07 +00:00
stage-install.sh
suite.test.mk Add limited sandbox capability to "make check" 2017-08-14 19:03:05 +00:00
sys.dependfile.mk
sys.mk Enable AUTO_OBJ by default if the OBJDIR is writable, only for in-tree builds. 2017-11-02 18:09:07 +00:00
tap.test.mk
version_gen.awk