14 Commits

Author SHA1 Message Date
bdrewery
1124820307 Import latest gendirdeps.mk 1.29 from contrib/bmake/mk 2016-01-25 18:40:25 +00:00
sjg
008d7c831f Add META_MODE support.
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision:       D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
sjg
0239aaa70c Latest dirdeps.mk sets DEP_RELDIR for itself.
This helps guard against bugs in manually edited Makefile.depend
files, and avoids the need to call realpath from the Makefile.depend file.
2015-06-08 23:34:04 +00:00
sjg
9be5b0883d Update to latest versions. 2014-05-05 17:58:00 +00:00
sjg
3b6b8e9414 Bring meta2deps.sh closer to par with meta2deps.py 2013-05-11 05:10:31 +00:00
sjg
f5cd3c4cc7 If TARGET_OBJ_SPEC is no just MACHINE, pass it to meta2deps.py 2013-05-11 00:52:57 +00:00
sjg
5da41246ca Sync latest versions 2013-04-14 01:21:20 +00:00
sjg
6a9c15e3cc When processing DPADD, defer application of :tA (realpath)
so we do not lose /.
2013-03-22 01:34:27 +00:00
sjg
564a6e0ac6 Revert the dance for skipping machine qualified dependfile.
We just note when using non-machine qualified dependfile for "host"
and skip update.
2013-03-18 21:29:31 +00:00
sjg
56806421c2 Make sure we qualify _objroot with trailing / if needed 2013-03-15 20:20:14 +00:00
sjg
db7f95f364 If .MAKE.DEPENDFILE_DEFAULT is not machine qualified, and we
find oursleves creating a machine qualified .MAKE.DEPENDFILE which
is identical to a default which exists - skip it.

This allows us to create Makefile.depend.host where it matters,
while leveraging Makefile.depend where it is sufficient.
2013-03-12 17:23:23 +00:00
sjg
37a9c930b4 Handle multiple M2D_OBJROOTS better 2013-03-04 21:35:49 +00:00
sjg
be67cf95c8 Latest *dirdeps.mk and meta2deps 2013-02-16 01:16:53 +00:00
marcel
9dd41e3647 Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00