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)
Sat, May 2, 11:23 PM
Unknown Object (File)
Mon, Apr 27, 8:32 PM
Unknown Object (File)
Tue, Apr 21, 2:05 PM
Unknown Object (File)
Tue, Apr 21, 3:53 AM
Unknown Object (File)
Mon, Apr 20, 11:30 AM
Unknown Object (File)
Sun, Apr 19, 7:56 PM
Unknown Object (File)
Wed, Apr 15, 12:51 PM
Unknown Object (File)
Apr 14 2026, 8:28 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.