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
Unknown Object (File)
Sun, Jan 12, 11:53 PM
Unknown Object (File)
Jan 1 2025, 10:44 PM
Unknown Object (File)
Dec 22 2024, 1:14 PM
Unknown Object (File)
Dec 21 2024, 6:21 AM
Unknown Object (File)
Nov 28 2024, 2:43 PM
Unknown Object (File)
Nov 22 2024, 11:26 AM
Unknown Object (File)
Nov 13 2024, 6:56 PM
Unknown Object (File)
Nov 12 2024, 8:04 AM
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.