freebsd-nq/share/mk
Bryan Drewery 1b6f33d9ac META_MODE: Fix stage_links not running in the right order without -j.
This fixes staging errors for non-parallel builds that have LINKS.

Creating hardlinks must always happen after the actual files are installed.
The staging code was protected by an .ORDER statement that only affected
parallel -j builds but not non-parallel builds.  Fix this by making the
real stage_links.SET (stage_links.links, stage_links.mlinks, etc) targets
depend on the main targets for all of the other possible staging needs.  For
example, stage_links.links will depend on stage_as and stage_files, which have
their own dependencies to stage_as.prog or stage_files.prog or stage_files.SET,
which is enough to satistfy the ordering.

Also remove the requirement that symlinks be created last, as they can
safely be made without the source being present unlike hardlinks.  This also
fixes symlinks to come before hardlinks as it is possible, in theory, to
hardlink a symlink.  This is not actually supported here though.

Sponsored by:	EMC / Isilon Storage Division
2015-10-02 06:24:09 +00:00
..
atf.test.mk Remove ALLOW_DEPRECATED_ATF_TOOLS/ATFFILE support from atf.test.mk 2015-06-15 06:38:59 +00:00
auto.obj.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
bsd.arch.inc.mk
bsd.compiler.mk Mention what 'common' is for 2015-06-10 19:36:53 +00:00
bsd.cpu.mk After consultations with the arm community, don't define softfp for 2015-08-26 17:10:43 +00:00
bsd.crunchgen.mk Use ${CRUNCHGEN} rather than bare word. 2015-06-13 15:36:13 +00:00
bsd.dep.mk Building on fmake is no longer possible so removed tests for bmake. 2015-06-10 18:14:38 +00:00
bsd.doc.mk Use .CURDIR in soelim's include path instead of SRCDIR 2015-06-20 00:17:57 +00:00
bsd.dtb.mk Add infrastructure to build dtb files from dts files. 2015-01-08 18:28:06 +00:00
bsd.endian.mk Start to import support for the AArch64 architecture from ARM. This change 2015-03-19 13:53:47 +00:00
bsd.files.mk META_MODE: Fix staging not respecting _DIR overrides. 2015-09-25 05:15:27 +00:00
bsd.incs.mk META_MODE: Fix staging not respecting _DIR overrides. 2015-09-25 05:15:27 +00:00
bsd.info.mk Remove MK_INFO guards in bsd.info.mk per r276556 2015-01-02 22:55:30 +00:00
bsd.init.mk Avoid anoying warning 2015-06-14 03:27:22 +00:00
bsd.kmod.mk Eliminate bsd.sys.mk on purpose. Do not put it back. 2015-01-01 04:26:45 +00:00
bsd.lib.mk bsd.lib.mk: Simplify CLEANFILES handling. 2015-09-22 05:05:53 +00:00
bsd.libnames.mk Significant upgrades to sa(4) and mt(1). 2015-02-23 21:59:30 +00:00
bsd.links.mk Fix DESTDIR support 2015-03-15 23:40:50 +00:00
bsd.man.mk Fix typo which breaks build of manpages when WITHOUT_MANCOMPRESS is set 2015-07-08 22:24:55 +00:00
bsd.mkopt.mk Appy := to dependent opts once value determined. 2015-06-22 19:01:09 +00:00
bsd.nls.mk
bsd.obj.mk With MK_AUTO_OBJ=yes objdir is created during sys.mk 2015-06-11 13:53:15 +00:00
bsd.opts.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
bsd.own.mk Remove now unused LIBPRIVATEDIR 2015-08-24 13:46:12 +00:00
bsd.port.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.prog.mk Fix most cases of bsd.progs.mk running duplicate or missing commands. 2015-09-23 23:20:49 +00:00
bsd.progs.mk PROGS: Let the parent run the children in parallel. 2015-09-25 15:57:00 +00:00
bsd.README The bsd.progs.mk -> bsd.prog.mk rework did not pan out yet. 2015-09-25 16:27:11 +00:00
bsd.snmpmod.mk
bsd.stand.mk Use CFLAGS_NO_SIMD in preference to varying lists of -mno-xxxx flags. 2015-08-27 23:46:42 +00:00
bsd.subdir.mk Remove 'set -e' that are no longer needed as it is already default. 2015-09-25 23:03:32 +00:00
bsd.symver.mk
bsd.sys.mk Garbage collect _SHLIBDIRPREFIX leftovers from r284898. 2015-09-18 22:28:13 +00:00
bsd.test.mk Fix most cases of bsd.progs.mk running duplicate or missing commands. 2015-09-23 23:20:49 +00:00
dirdeps.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
gendirdeps.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
host-target.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
install-new.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
local.autodep.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
local.dirdeps.mk Watch out for bin/cat in host stage tree 2015-06-14 03:28:25 +00:00
local.gendirdeps.mk META_MODE: Remove unneeded groff/tmac special GENDIRDEPS_FILTER. 2015-09-30 20:40:51 +00:00
local.init.mk META_MODE: Set HOST_CXX and HOST_CPP and chain them down into CXX/CPP for host builds. 2015-09-30 23:14:23 +00:00
local.meta.sys.mk META_MODE: Set HOST_CXX and HOST_CPP and chain them down into CXX/CPP for host builds. 2015-09-30 23:14:23 +00:00
local.sys.env.mk Move include of make.conf back to its old position. 2015-06-19 14:56:24 +00:00
local.sys.mk Move include of make.conf back to its old position. 2015-06-19 14:56:24 +00:00
Makefile Fix running make in src directories without a Makefile giving confusing errors. 2015-09-24 17:36:18 +00:00
meta2deps.py Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta2deps.sh Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta.autodep.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta.stage.mk META_MODE: Fix stage_links not running in the right order without -j. 2015-10-02 06:24:09 +00:00
meta.subdir.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta.sys.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
netbsd-tests.test.mk Import proper fix for misc/49356 (/usr/include/atf-c/config.h) after atf-c/config.h 2014-11-04 05:02:22 +00:00
plain.test.mk As an optimization (in simple, well used cases) only call cat ${.ALLSRC} when 2014-11-04 01:57:31 +00:00
src.libnames.mk Remove last traces of USEPRIVATELIB 2015-09-06 20:17:14 +00:00
src.opts.mk Separate ELFTOOLCHAIN_BOOTSTRAP from BINUTILS_BOOTSTRAP 2015-08-17 10:48:55 +00:00
src.sys.env.mk RELDIR is useful without META_MODE. Always define it. 2015-09-23 23:30:57 +00:00
src.sys.mk Trim space 2015-09-17 21:51:48 +00:00
stage-install.sh Add META_MODE support. 2015-06-13 19:20:56 +00:00
suite.test.mk Remove 'set -e' that are no longer needed as it is already default. 2015-09-25 23:03:32 +00:00
sys.dependfile.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
sys.mk Explicitly enable .MAKE.ALWAYS_PASS_JOB_QUEUE for bmake. 2015-09-25 22:51:30 +00:00
tap.test.mk As an optimization (in simple, well used cases) only call cat ${.ALLSRC} when 2014-11-04 01:57:31 +00:00
version_gen.awk