Page MenuHomeFreeBSD

Makefile.libcompat: Handle MK_FOO varying for native and compat arches
ClosedPublic

Authored by jrtc27 on Jun 15 2023, 9:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 12, 11:20 AM
Unknown Object (File)
Sat, Jan 11, 12:08 PM
Unknown Object (File)
Nov 24 2024, 1:31 PM
Unknown Object (File)
Nov 12 2024, 1:52 PM
Unknown Object (File)
Nov 12 2024, 1:52 PM
Unknown Object (File)
Nov 12 2024, 1:52 PM
Unknown Object (File)
Oct 5 2024, 8:51 PM
Unknown Object (File)
Oct 1 2024, 3:10 PM
Subscribers

Details

Summary

Currently Makefile.libcompat queries a few MK_FOO variables to determine
what is being built. However, it is plausible (and indeed, downstream
in CheriBSD, this is the case) that these may vary between the native
and the compat architecture. In order to correctly determine their
values for the compat architecture, we need to defer their evaluation
until we are in the compat sub-make where src.opts.mk will give us the
right value for the compat MACHINE_ARCH.

Obtained from: CheriBSD

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52089
Build 48980: arc lint + arc unit