freebsd-dev/share
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
..
colldef Add META_MODE support. 2015-06-13 19:20:56 +00:00
dict Add META_MODE support. 2015-06-13 19:20:56 +00:00
doc META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
dtrace dd DTrace probe points, translators and a corresponding script 2015-09-13 15:50:55 +00:00
examples Join excessive split lines. 2015-09-30 12:40:51 +00:00
i18n new depends 2015-06-16 23:37:19 +00:00
keys Remove scary comment about this being a test key. 2014-01-13 20:55:15 +00:00
man The Dt argument should be in capital letters. 2015-09-29 11:48:47 +00:00
me Add META_MODE support. 2015-06-13 19:20:56 +00:00
misc jhg -> jgh 2015-09-05 01:00:02 +00:00
mk META_MODE: Fix stage_links not running in the right order without -j. 2015-10-02 06:24:09 +00:00
mklocale Add META_MODE support. 2015-06-13 19:20:56 +00:00
monetdef Add META_MODE support. 2015-06-13 19:20:56 +00:00
msgdef Remove rm -Rf beforeinstall hack that was needed due to a change that 2015-09-18 22:55:18 +00:00
numericdef Add META_MODE support. 2015-06-13 19:20:56 +00:00
security META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
sendmail Add META_MODE support. 2015-06-13 19:20:56 +00:00
skel Add META_MODE support. 2015-06-13 19:20:56 +00:00
snmp Add META_MODE support. 2015-06-13 19:20:56 +00:00
syscons Add META_MODE support. 2015-06-13 19:20:56 +00:00
tabset Add META_MODE support. 2015-06-13 19:20:56 +00:00
termcap Add META_MODE support. 2015-06-13 19:20:56 +00:00
tests Add some sample test programs. 2013-11-18 12:57:46 +00:00
timedef Add META_MODE support. 2015-06-13 19:20:56 +00:00
vt Add double size 16x32 VGA ROM font 2015-09-25 02:52:54 +00:00
zoneinfo Fix build when LEAPSECONDS is enabled. 2015-08-22 07:41:28 +00:00
Makefile Only build share/dtrace if MK_CDDL != no 2015-01-25 00:32:17 +00:00
Makefile.inc