#
498dac0a |
| 14-Oct-2024 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk for better debug output
Latest dirdeps.mk provides better clue as to which makefile is being read for a given DIRDEP.
Reviewed by: stevek
|
Revision tags: release/13.4.0 |
|
#
a2b67d4a |
| 29-Jul-2024 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk to latest
Also add meta2deps.{py,sh} to FILES so they get installed/staged
Reviewed by: stevek
|
Revision tags: release/14.1.0 |
|
#
f974ced3 |
| 14-Mar-2024 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk et al
bmake-20240309 includes updates to dirdeps and meta mode makefiles
|
Revision tags: release/13.3.0, release/14.0.0 |
|
#
92a4e8b3 |
| 15-May-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
dirdeps.mk allow for TARGET_SPEC_VARS.host
While *most* projects need only DEP_MACHINE for host, there is always an exception. So we allow for TARGET_SPEC_VARS.host to be a subset of TARGET_SPEC_VA
dirdeps.mk allow for TARGET_SPEC_VARS.host
While *most* projects need only DEP_MACHINE for host, there is always an exception. So we allow for TARGET_SPEC_VARS.host to be a subset of TARGET_SPEC_VARS. The default will *just work* for most projects.
We set DEP_TARGET_SPEC_VARS and hence DEP_TARGET_SPEC based on DEP_MACHINE. Allow for M_dep_qual_fixes.host to be different too and take care to apply the right set.
show more ...
|
#
41d638f2 |
| 13-May-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk
Ensure host build_dirs are not qualified.
|
#
bee3d4bf |
| 12-May-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
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 i
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
show more ...
|
#
ba4d3333 |
| 04-May-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
dirdeps.mk for host* DEP_TARGET_SPEC is just DEP_MACHINE
This helps avoid ugly noise in dirdeps.cache on Linux.
|
#
fb30bb0d |
| 23-Apr-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
dirdeps.mk ensure M_dep_qual_fixes is applied
|
#
9eaf82f2 |
| 19-Apr-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
dirdeps.mk guard against inclusion from Makefile.depend.options
A typo in Makefile.depend.options including dirdeps.mk rather than dirdeps-options.mk can result in infinite recursion - don't let tha
dirdeps.mk guard against inclusion from Makefile.depend.options
A typo in Makefile.depend.options including dirdeps.mk rather than dirdeps-options.mk can result in infinite recursion - don't let that happen.
Reviewed by: stevek
show more ...
|
#
a3d015bb |
| 17-Apr-2023 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk
Fix handling of local.dirdeps-missing.mk we need to reset DEP_RELDIR and DIRDEPS just as if including a Makefile.depend*
Also fix a typo in DIRDEP_LOADAVG_REPORT and improve debug
Update dirdeps.mk
Fix handling of local.dirdeps-missing.mk we need to reset DEP_RELDIR and DIRDEPS just as if including a Makefile.depend*
Also fix a typo in DIRDEP_LOADAVG_REPORT and improve debug output.
Reviewed by: stevek
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
525d1e20 |
| 23-Apr-2022 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk
Latest dirdeps.mk is far more efficient when generating DIRDEPS_CACHE.
Update dirdeps-options.mk to allow DEP_RELDIR to factor into option processing. This is not very interesting
Update dirdeps.mk
Latest dirdeps.mk is far more efficient when generating DIRDEPS_CACHE.
Update dirdeps-options.mk to allow DEP_RELDIR to factor into option processing. This is not very interesting if all options are global.
show more ...
|
#
3b26e5a4 |
| 18-Dec-2021 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk et al to 20211212 versions
dirdeps.mk: simplify computation of qualified vs unqualified dirdeps. Note the importance of avoiding unresolved variables in DIRDEPS Fix DIRDEP_LOADAV
Update dirdeps.mk et al to 20211212 versions
dirdeps.mk: simplify computation of qualified vs unqualified dirdeps. Note the importance of avoiding unresolved variables in DIRDEPS Fix DIRDEP_LOADAVG_REPORT - expr(1) fails if expression evaluates to 0 Trim ${SRCTOP}/ from debug etc messages to make comparison easier. Include number of DIRDEPS in debug output. Trim ${SRCTOP}/ when exporting to env while building DIRDEPS_CACHE to help avoid env exhaustion. Use DIRDEPS_ALL_MACHINES_FILTER to better handle ALL_MACHINES in complex build environments.
dirdeps-options.mk: use separate .undef for each variable
dirdeps-targets.mk: allow for '.' in DIRDEPS_TARGETS_DIRS
meta.autodep.mk: leverage ${.SUFFIXES} if we can.
meta.sys.mk: allow use in META_MODE vs DIRDEPS_BUILD
meta2deps.py: compute a list of dirdep extensions that map to current TARGET_SPEC to avoid confusion.
Reviewed by: stevek
show more ...
|
Revision tags: release/12.3.0, release/13.0.0 |
|
#
960b77be |
| 24-Nov-2020 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk et al to latest
Move some local tweaks to local.*.mk
Reviewed by: bdrewery MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D27300
|
Revision tags: release/12.2.0, release/11.4.0 |
|
#
312809fe |
| 11-Dec-2019 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk and gendirdeps.mk
The env space consumed by exporting all libc's .meta files left little room for command line, so unexport when done.
Update dirdeps.mk to latest and add dirdeps-
Update dirdeps.mk and gendirdeps.mk
The env space consumed by exporting all libc's .meta files left little room for command line, so unexport when done.
Update dirdeps.mk to latest and add dirdeps-targets.mk to simplify/update targets/Makefile
Makefile changes to go with Makefile.depend changes in D22494
Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22495
show more ...
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0 |
|
#
14b841d4 |
| 11-Aug-2018 |
Kyle Evans <kevans@FreeBSD.org> |
MFH @ r337607, in preparation for boarding
|
#
bbd7a929 |
| 04-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r336870 through r337285, and resolve conflicts.
|
#
a6589ab7 |
| 02-Aug-2018 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk et al to latest
dirdeps.mk and meta.autodep.mk will now look for Makefile.depend.options to handle optional dependencies, the work is all done by dirdeps-options.mk
Also update to
Update dirdeps.mk et al to latest
dirdeps.mk and meta.autodep.mk will now look for Makefile.depend.options to handle optional dependencies, the work is all done by dirdeps-options.mk
Also update to latest meta.stage.mk and gendirdeps.mk
Reviewed by: bdrewery Differential Revision: https://reviews.freebsd.org/D15701
show more ...
|
Revision tags: release/11.2.0, release/10.4.0, release/11.1.0 |
|
#
2dd9e369 |
| 07-Mar-2017 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Fix typo in comment.
|
#
6d4f05fd |
| 07-Mar-2017 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps/meta bits from latest bmake.
|
#
95f289d5 |
| 05-Mar-2017 |
Eitan Adler <eadler@FreeBSD.org> |
remove the the duplicate words from share/
|
#
b47b9f6b |
| 23-Dec-2016 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update meta* from bmake-20161212
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
a75e9a02 |
| 10-Sep-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r305623 through r305686.
|
#
0806d0ef |
| 09-Sep-2016 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update to latest dirdeps.mk
Take advantage of new bmake feature to only consider Makefile.depend as invalidating DIRDEPS_CACHE.
When bootstrapping allow more filtering via .MAKE.DEPENDFILE_BOOTSTRA
Update to latest dirdeps.mk
Take advantage of new bmake feature to only consider Makefile.depend as invalidating DIRDEPS_CACHE.
When bootstrapping allow more filtering via .MAKE.DEPENDFILE_BOOTSTRAP_SED
Move some comments back to where they make sense.
meta.sys.mk: add META_COOKIE_TOUCH and META_NOPHONY to better handle some targets in meta mode vs non-meta mode. Also use .MAKE.META.IGNORE_PATHS to ignore mtime of makefiles - which do not matter in meta mode.
show more ...
|
#
30e29100 |
| 19-Apr-2016 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Allow -f dirdeps.mk some/dir with no TARGET_MACHINE spec
Use $MACHINE if target does not specify.
Reviewed by: bdrewery
|
#
51c71d3e |
| 18-Apr-2016 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Update dirdeps.mk et al
dirdeps.mk: move logic to handle -f dirdeps.mk to inside check for first read of dirdeps.mk
Also fix handling of WITHOUT_DIRDEPS_BELOW
gendirdeps.mk: pass M2D_EXCLUDES to m
Update dirdeps.mk et al
dirdeps.mk: move logic to handle -f dirdeps.mk to inside check for first read of dirdeps.mk
Also fix handling of WITHOUT_DIRDEPS_BELOW
gendirdeps.mk: pass M2D_EXCLUDES to meta2deps
meta.autodep.mk: if we build with nofilemon, leave a cookie to prevent updating dependencies until cleaned.
Reviewed by: bdrewery
show more ...
|