Page MenuHomeFreeBSD

Use MACHINE_CPUARCH/TARGET_CPUARCH in preference to MACHINE/TARGET and minor cleanup
ClosedPublic

Authored by imp on Aug 16 2018, 3:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 5 2024, 5:39 PM
Unknown Object (File)
Dec 25 2023, 9:41 AM
Unknown Object (File)
Dec 23 2023, 2:27 AM
Unknown Object (File)
Dec 9 2023, 6:11 PM
Unknown Object (File)
Nov 14 2023, 9:13 AM
Unknown Object (File)
Nov 10 2023, 1:10 PM
Unknown Object (File)
Nov 6 2023, 6:11 PM
Unknown Object (File)
Oct 13 2023, 8:19 AM

Details

Summary

MACHINE and TARGET are only applicable to kernel configurations. Since
these are 100% userland options, use the more appropriate
TARGET_CPUARCH/MACHINE_CPUARCH. Adjust TT to be TCA in the
process. Add a comment so I won't have to remove them again in the
future.

Now that we have __TCA, it's more appropriate to use in these cases
than re-writing the filtering code we already have centralized.

Test Plan

make universe

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18855
Build 18513: arc lint + arc unit

Event Timeline

imp added reviewers: emaste, bdrewery, dim.
0mp added inline comments.
share/mk/src.opts.mk
244

Typo in COMNFIGURATION.

fix typo and while I'm at it, adjust comment

imp marked an inline comment as done.Aug 16 2018, 3:37 PM

fixed and regened

This revision is now accepted and ready to land.Aug 16 2018, 4:19 PM