freebsd-dev/share/mk
Simon J. Gerraty bee3d4bf8e Move DIRDEPS_BUILD settings to sys.dirdeps.mk
When originally implemented, there was no distinction between
DIRDEPS_BUILD and META_MODE, they were one and the same.

META_MODE however is useful by itself, but since meta.sys.mk
had lots of settings related to DIRDEPS_BUILD its use was limited
to DIRDEPS_BUILD.

Move (most) DIRDEPS_BUILD related items to sys.dirdeps.mk
so that meta.sys.mk can be used for just META_MODE.
There is of course some bluring of the lines, so settings remain
in meta.sys.mk

Add MK_META_ERROR_TARGET to enable the META_MODE .ERROR target
independent of DIRDEPS_BUILD, it copies failed .meta files to ${SB}/error
to make it easier to identify the cause of build failures.

Since sys.dirdeps.mk should be included first, most of
local.meta.sys.mk becomes local.sys.dirdeps.mk
and some other bits need to move to local.sys.dirdeps.env.mk

Also fix dirdeps.mk to not add CURDIR to DIRDEPS when it is SRCTOP.

Reviewed by:	bdrewery
Differential Revision:	https://reviews.freebsd.org/D40053
2023-05-11 16:15:04 -07:00
..
atf.test.mk testing: move atf-pytest-wrapper to /usr/libexec 2022-06-26 13:25:47 +00:00
auto.obj.mk
bsd.arch.inc.mk
bsd.clang-analyze.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
bsd.compat.mk bsd.cpu.mk: Introduce MACHINE_ABI 2022-10-05 17:27:44 +01:00
bsd.compiler.mk bsd.compiler.mk: Add a c++20 compiler feature. 2022-11-18 20:11:59 -08:00
bsd.confs.mk Ensure the stage_* targets we use exist 2023-04-18 20:19:11 -07:00
bsd.cpu.mk share/mk/bsd.cpu.mk: add AltiVec / VSX to powerpc*'s MACHINE_CPU 2023-05-05 16:20:28 +02:00
bsd.crunchgen.mk
bsd.dep.mk Remove more quotes around Makefile .error/.warn/.info strings. 2022-02-04 15:59:53 -08:00
bsd.dirs.mk pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
bsd.doc.mk pkgbase: Create a FreeBSD-utilities package and make it the default one 2019-09-05 14:15:47 +00:00
bsd.dtb.mk Introduce bsd.sysdir.mk to consolidate looking for the kernel. 2019-11-21 15:59:33 +00:00
bsd.endian.mk Remove more quotes around Makefile .error/.warn/.info strings. 2022-02-04 15:59:53 -08:00
bsd.files.mk pkgbase: Do not override packages for FILES 2023-02-08 08:50:16 +01:00
bsd.incs.mk bsd.incs.mk: Add support to override tags for a specific include group 2021-01-04 16:21:32 +01:00
bsd.info.mk
bsd.init.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
bsd.kmod.mk Add some more local.*.mk includes 2022-12-06 10:49:54 -08:00
bsd.lib.mk bsd.lib.mk: decouple lib*_pic.a from TOOLCHAIN build knob 2023-05-01 16:46:39 -04:00
bsd.libnames.mk Put OPIE to rest. 2022-10-02 03:37:29 +02:00
bsd.linker.mk Remove more quotes around Makefile .error/.warn/.info strings. 2022-02-04 15:59:53 -08:00
bsd.links.mk
bsd.man.mk pkgbase: Add an src.conf option for splitting man pages 2021-03-16 07:13:09 +01:00
bsd.mkopt.mk Remove more quotes around Makefile .error/.warn/.info strings. 2022-02-04 15:59:53 -08:00
bsd.nls.mk
bsd.obj.mk NO_OBJ: Always fix .OBJDIR regardless of AUTO_OBJ. 2020-04-07 17:07:04 +00:00
bsd.opts.mk Add some more local.*.mk includes 2022-12-06 10:49:54 -08:00
bsd.own.mk Use 'mixed' links for 'hard' links by default. 2023-02-27 10:19:00 -07:00
bsd.port.mk
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk Really fix cross-builds from macOS 2022-06-30 22:08:31 +01:00
bsd.progs.mk Add build system support for ASAN+UBSAN instrumentation 2021-08-02 14:33:24 +01:00
bsd.README share/mk: Remove obsolete reference to LINTLIBDIR 2022-03-28 19:43:03 +01:00
bsd.sanitizer.mk bsd.sanitizer.mk: Fix a typo in a comment 2022-11-01 09:18:34 +01:00
bsd.snmpmod.mk pkgbase: Put the mibs and defs in the bnsmp package 2021-06-19 17:50:03 +02:00
bsd.subdir.mk make: Don't print as many ==> and -- xxx -- lines in meta mode 2022-10-29 10:13:54 -06:00
bsd.suffixes-posix.mk
bsd.suffixes.mk
bsd.symver.mk bmake 20230123 gives us .SYSPATH 2023-04-22 18:15:31 -07:00
bsd.sys.mk clang: Enable -Wdeprecated-non-prototype by default. 2023-04-25 14:09:21 -07:00
bsd.sysdir.mk Add some more local.*.mk includes 2022-12-06 10:49:54 -08:00
bsd.test.mk Make capsicum test cases fine-grained 2020-10-06 06:45:52 +00:00
dirdeps-options.mk Update meta mode makefiles 2023-04-16 18:40:53 -07:00
dirdeps-targets.mk Update dirdeps.mk et al to 20211212 versions 2021-12-18 13:37:07 -08:00
dirdeps.mk Move DIRDEPS_BUILD settings to sys.dirdeps.mk 2023-05-11 16:15:04 -07:00
gendirdeps.mk Update meta.sys.mk and related local*mk 2023-04-20 20:38:53 -07:00
googletest.test.inc.mk Work around two -Werror warning issues in googletest, which have been 2020-01-31 18:26:23 +00:00
googletest.test.mk Make capsicum test cases fine-grained 2020-10-06 06:45:52 +00:00
host-target.mk
install-new.mk
jobs.mk jobs.mk report JOB_ARGS log and JOB_LOG_START 2023-04-27 13:40:44 -07:00
kmod.opts.mk Add a kmod.opts.mk. 2019-11-21 18:14:26 +00:00
local.autodep.mk Avoid breaking crunchgen with meta stats 2023-04-18 20:25:33 -07:00
local.dirdeps-options.mk Allow site.*.mk to augment local.*.mk and src.*.mk 2022-12-07 11:30:35 -08:00
local.dirdeps.mk local.dirdeps.mk skip N_host_libs for non-FreeBSD host 2023-05-04 11:58:39 -07:00
local.gendirdeps.mk Update meta.sys.mk and related local*mk 2023-04-20 20:38:53 -07:00
local.init.mk Simplify building host tools during DIRDEPS_BUILD 2023-04-22 12:01:49 -07:00
local.meta.sys.env.mk Move DIRDEPS_BUILD settings to sys.dirdeps.mk 2023-05-11 16:15:04 -07:00
local.sys.dirdeps.env.mk Move DIRDEPS_BUILD settings to sys.dirdeps.mk 2023-05-11 16:15:04 -07:00
local.sys.dirdeps.mk Move DIRDEPS_BUILD settings to sys.dirdeps.mk 2023-05-11 16:15:04 -07:00
local.sys.env.mk Move DIRDEPS_BUILD settings to sys.dirdeps.mk 2023-05-11 16:15:04 -07:00
local.sys.mk Set MK_host_egacy=yes earlier 2023-04-25 00:26:35 -07:00
Makefile Install the recently added posix.mk file 2022-04-12 13:05:55 -07:00
meta2deps.py Update meta mode makefiles 2023-04-16 18:40:53 -07:00
meta2deps.sh Update meta mode makefiles 2023-04-16 18:40:53 -07:00
meta.autodep.mk Update meta mode makefiles 2023-04-16 18:40:53 -07:00
meta.stage.mk Update meta mode makefiles 2023-04-16 18:40:53 -07:00
meta.subdir.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
meta.sys.mk Move DIRDEPS_BUILD settings to sys.dirdeps.mk 2023-05-11 16:15:04 -07:00
netbsd-tests.test.mk Remove more quotes around Makefile .error/.warn/.info strings. 2022-02-04 15:59:53 -08:00
plain.test.mk
src.init.linux.mk Simplify building host tools during DIRDEPS_BUILD 2023-04-22 12:01:49 -07:00
src.init.mk Simplify building host tools during DIRDEPS_BUILD 2023-04-22 12:01:49 -07:00
src.libnames.mk bhyve: Move libcasper dependecy to lib9p 2023-03-07 11:09:22 -05:00
src.lua.mk Add flua to the base system, install to /usr/libexec 2019-11-18 23:21:13 +00:00
src.opts.mk efi: mark as broken on i386 2023-05-11 14:06:03 -06:00
src.sys.env.mk Allow site.*.mk to augment local.*.mk and src.*.mk 2022-12-07 11:30:35 -08:00
src.sys.mk build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
src.sys.obj.mk Move DIRDEPS_BUILD settings to sys.dirdeps.mk 2023-05-11 16:15:04 -07:00
src.tools.mk ncurses: Add support for terminfo database 2021-02-25 14:25:11 +01:00
stage-install.sh
suite.test.mk make check: suppress echo of kyua binary location 2021-01-16 00:07:50 -06:00
sys.dependfile.mk Move DIRDEPS_BUILD settings to sys.dirdeps.mk 2023-05-11 16:15:04 -07:00
sys.dirdeps.mk Move DIRDEPS_BUILD settings to sys.dirdeps.mk 2023-05-11 16:15:04 -07:00
sys.mk Move DIRDEPS_BUILD settings to sys.dirdeps.mk 2023-05-11 16:15:04 -07:00
tap.test.mk
version_gen.awk