Page MenuHomeFreeBSD

partially convert lib/Makefile to SUBDIR.${MK_FOO} style
ClosedPublic

Authored by emaste on Oct 13 2016, 9:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 8, 3:06 AM
Unknown Object (File)
Nov 30 2025, 10:24 AM
Unknown Object (File)
Nov 24 2025, 7:32 PM
Unknown Object (File)
Nov 23 2025, 8:50 PM
Unknown Object (File)
Nov 23 2025, 9:11 AM
Unknown Object (File)
Nov 22 2025, 3:57 AM
Unknown Object (File)
Nov 21 2025, 7:43 AM
Unknown Object (File)
Nov 19 2025, 4:58 PM
Subscribers

Details

Summary

Cases other than MK_FOO, e.g. ${MACHINE_CPUARCH} == "i386", have been left as is.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to partially convert lib/Makefile to SUBDIR.${MK_FOO} style.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: imp, bdrewery.
emaste added a subscriber: ed.
imp edited edge metadata.

Rush this in before it can go stale.

lib/Makefile
173–174 ↗(On Diff #21376)

Question: can MK_BHYVE be yes when MACHINE_CPUARCH != amd64?

This revision is now accepted and ready to land.Oct 13 2016, 9:44 PM
lib/Makefile
173–174 ↗(On Diff #21376)

Interesting, it seems BHYVE is in __DEFAULT_YES_OPTIONS. It's wrapped in ${MACHINE_CPUARCH} == "amd64" here, and bhyve/bhyvectl/bhyveloadare only included in usr.sbin/Makefile.amd64. This seems wrong to me, and should be cleaned up in a subsequent patch.

This revision was automatically updated to reflect the committed changes.