aboutsummaryrefslogtreecommitdiff
path: root/share/mk/meta2deps.py
Commit message (Collapse)AuthorAgeFilesLines
* Update dirdeps.mk et alSimon J. Gerraty2025-02-101-4/+12
| | | | | | | Update dirdeps.mk and friends to match latest contrib/bmake/mk Reviewed by: stevek Differential Revision: https://reviews.freebsd.org/D48855
* Update dirdeps.mk et alSimon J. Gerraty2024-03-141-4/+11
| | | | bmake-20240309 includes updates to dirdeps and meta mode makefiles
* meta2deps.py: Fix a typo in a source code commentGordon Bergling2024-01-221-1/+1
| | | | | | - s/follwing/following/ MFC after: 3 days
* Update meta mode makefilesSimon J. Gerraty2023-04-171-6/+46
| | | | | | | | | | | | 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
* Update dirdeps.mk et al to 20211212 versionsSimon J. Gerraty2021-12-181-32/+47
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update dirdeps.mk et al to latestSimon J. Gerraty2020-11-241-27/+41
| | | | | | | | | | | Move some local tweaks to local.*.mk Reviewed by: bdrewery MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D27300 Notes: svn path=/head/; revision=367999
* Update dirdeps.mk et al to latestSimon J. Gerraty2018-08-021-3/+12
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=337186
* Fix syntax error in parse_path after r316952.Bryan Drewery2017-05-081-2/+2
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=317980
* Latest version, we need to realpath anyway to check if an objSimon J. Gerraty2017-04-151-13/+19
| | | | | | | dependency is also a src dependency. Notes: svn path=/head/; revision=316952
* Update dirdeps/meta bits from latest bmake.Simon J. Gerraty2017-03-061-6/+25
| | | | Notes: svn path=/head/; revision=314809
* Update meta* from bmake-20161212Simon J. Gerraty2016-12-231-49/+56
| | | | Notes: svn path=/head/; revision=310437
* Update meta2deps to fix crash when using -X with M2D_EXCLUDES.Bryan Drewery2016-04-181-2/+2
| | | | Notes: svn path=/head/; revision=298227
* Add META_MODE support.Simon J. Gerraty2015-06-131-95/+130
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=284345
* Update to latest versions.Simon J. Gerraty2014-05-051-32/+34
| | | | Notes: svn path=/projects/bmake/; revision=265374
* Latest version.Simon J. Gerraty2013-10-131-8/+28
| | | | | | | Report better parse errors. Notes: svn path=/projects/bmake/; revision=256416
* Allow caller to pass a TARGET_SPEC which may be more complex thanSimon J. Gerraty2013-05-111-11/+28
| | | | | | | | just MACHINE, for recognizing objects which do not need qualifying in dirdeps. Notes: svn path=/projects/bmake/; revision=250491
* Sync latest versionsSimon J. Gerraty2013-04-141-3/+13
| | | | Notes: svn path=/projects/bmake/; revision=249458
* sync latest meta2depsSimon J. Gerraty2013-03-221-4/+5
| | | | Notes: svn path=/projects/bmake/; revision=248606
* If self.machine is host we need to also trim self.host_target fromSimon J. Gerraty2013-03-151-1/+4
| | | | | | | objroots to ensure we do not get confused. Notes: svn path=/projects/bmake/; revision=248343
* Latest *dirdeps.mk and meta2depsSimon J. Gerraty2013-02-161-3/+15
| | | | Notes: svn path=/projects/bmake/; revision=246865
* Latest dirdeps etc from Juniper Networks.Simon J. Gerraty2012-11-081-3/+11
| | | | Notes: svn path=/projects/bmake/; revision=242785
* Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+606
Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572