History log of /freebsd/share/mk/meta2deps.py (Results 1 – 25 of 28)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# c8245ceb 10-Feb-2025 Simon J. Gerraty <sjg@FreeBSD.org>

Update dirdeps.mk et al

Update dirdeps.mk and friends to match latest contrib/bmake/mk

Reviewed by: stevek
Differential Revision: https://reviews.freebsd.org/D48855


Revision tags: release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, 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
# ad92f3d9 22-Jan-2024 Gordon Bergling <gbe@FreeBSD.org>

meta2deps.py: Fix a typo in a source code comment

- s/follwing/following/

MFC after: 3 days


Revision tags: release/14.0.0
# bf7aa99a 17-Apr-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Update meta mode makefiles

meta2deps - add checks to detect truncated/corrupted filemon data
(only known to happen on Linux hosts), to ensure we do not auto
update dependencies based on incomplete d

Update meta mode makefiles

meta2deps - add checks to detect truncated/corrupted filemon data
(only known to happen on Linux hosts), to ensure we do not auto
update dependencies based on incomplete data.

meta.stage.mk adds STAGE_SHLIB_LINKS_FILTER and STAGE_LINK_AS_*

We also allow for hosts where egrep is deprecated for grep -E

Reviewed by: stevek

show more ...


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0
# 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, 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
# 209be205 16-May-2017 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r317971 through r318379.


# fbbb9824 08-May-2017 Bryan Drewery <bdrewery@FreeBSD.org>

Fix syntax error in parse_path after r316952.

Also fix bad whitespace in sort_unique after r314809.

The parse_path syntax error came up in DIRDEPS_BUILD as the following
and emptied out all Makefil

Fix syntax error in parse_path after r316952.

Also fix bad whitespace in sort_unique after r314809.

The parse_path syntax error came up in DIRDEPS_BUILD as the following
and emptied out all Makefile.depend files due to it:

# python share/mk/meta2deps.py
File "share/mk/meta2deps.py", line 538
rdir = os.path.realpath(dir)
^
IndentationError: unexpected indent

Sponsored by: Dell EMC Isilon

show more ...


# c0339e7d 15-Apr-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Latest version, we need to realpath anyway to check if an obj
dependency is also a src dependency.


# 6d4f05fd 07-Mar-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update dirdeps/meta bits from latest bmake.


# 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
# e1dfa657 18-Apr-2016 Bryan Drewery <bdrewery@FreeBSD.org>

Update meta2deps to fix crash when using -X with M2D_EXCLUDES.


Revision tags: release/10.3.0, release/10.2.0
# 416ba5c7 22-Jun-2015 Navdeep Parhar <np@FreeBSD.org>

Catch up with HEAD (r280229-r284686).


# 76aeda8a 20-Jun-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r284188 through r284643.


# dad2fb7e 15-Jun-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head


# ccfb9654 13-Jun-2015 Simon J. Gerraty <sjg@FreeBSD.org>

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

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

show more ...


Revision tags: release/10.1.0, release/9.3.0
# 10ea6fac 05-May-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to latest versions.


Revision tags: release/10.0.0
# d5ddb276 13-Oct-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Latest version.
Report better parse errors.


Revision tags: release/9.2.0, release/8.4.0
# bf062775 11-May-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Allow caller to pass a TARGET_SPEC which may be more complex than
just MACHINE, for recognizing objects which do not need qualifying
in dirdeps.


# 876336c8 14-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Sync latest versions


# 51048477 22-Mar-2013 Simon J. Gerraty <sjg@FreeBSD.org>

sync latest meta2deps


# 8c95c434 15-Mar-2013 Simon J. Gerraty <sjg@FreeBSD.org>

If self.machine is host we need to also trim self.host_target from
objroots to ensure we do not get confused.


12