Page MenuHomeFreeBSD

Update meta.sys.mk and related local*mk
ClosedPublic

Authored by sjg on Apr 20 2023, 7:26 PM.
Tags
None
Referenced Files
F114124119: D39737.id120766.diff
Tue, Apr 8, 4:46 AM
Unknown Object (File)
Thu, Apr 3, 5:54 AM
Unknown Object (File)
Sat, Mar 29, 10:28 PM
Unknown Object (File)
Mon, Mar 24, 6:30 AM
Unknown Object (File)
Feb 19 2025, 9:14 AM
Unknown Object (File)
Feb 10 2025, 9:58 PM
Unknown Object (File)
Feb 10 2025, 2:53 PM
Unknown Object (File)
Feb 10 2025, 2:42 PM
Subscribers
None

Details

Summary

Move the setting of TARGET_SPEC_VARS to local.sys.env.mk
so meta.sys.mk can do the processing, and include local.meta.sys.mk
later.

Move the setting of GENDIRDEPS_FILTER*_VARS from local.gendirdeps.mk
to local.meta.sys.mk so we can automatically set DEP_* at level 1+
to avoid syntax errors when DEP_* variables are used in conditionals
in Makefile.depend files.

Update gendirdeps.mk just to get the documentation about the above.
No functional change.

local.dirdeps.mk be more careful about adding to DIRDEPS to avoid
unnecessary overhead, and introducing cycles in the graph.
Also set DEP_MACHINE_CPUARCH.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sjg requested review of this revision.Apr 20 2023, 7:26 PM
sjg created this revision.

Remove redundant GENDIRDEPS_FILTER settings

This revision is now accepted and ready to land.Apr 21 2023, 12:58 AM
This revision was automatically updated to reflect the committed changes.