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)
Thu, Apr 24, 8:23 AM
Unknown Object (File)
Tue, Apr 22, 2:29 PM
Unknown Object (File)
Sun, Apr 20, 8:47 AM
Unknown Object (File)
Thu, Apr 17, 11:31 PM
Unknown Object (File)
Wed, Apr 16, 3:38 AM
Unknown Object (File)
Sun, Apr 13, 11:55 AM
Unknown Object (File)
Tue, Apr 8, 4:46 AM
Unknown Object (File)
Thu, Apr 3, 5:54 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.