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)
May 10 2024, 12:54 PM
Unknown Object (File)
Apr 22 2024, 5:35 AM
Unknown Object (File)
Feb 14 2024, 3:28 PM
Unknown Object (File)
Jan 14 2024, 7:04 AM
Unknown Object (File)
Jan 10 2024, 10:26 AM
Unknown Object (File)
Jan 10 2024, 10:26 AM
Unknown Object (File)
Dec 23 2023, 1:34 AM
Unknown Object (File)
Nov 22 2023, 2:33 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.