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
F137157749: D8246.id.diff
Fri, Nov 21, 7:43 AM
Unknown Object (File)
Wed, Nov 19, 4:58 PM
Unknown Object (File)
Wed, Nov 19, 5:12 AM
Unknown Object (File)
Tue, Nov 18, 9:47 AM
Unknown Object (File)
Tue, Nov 18, 3:52 AM
Unknown Object (File)
Wed, Nov 5, 8:43 PM
Unknown Object (File)
Wed, Nov 5, 8:43 PM
Unknown Object (File)
Wed, Nov 5, 8:43 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.