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)
Thu, Jul 31, 8:49 PM
Unknown Object (File)
Mon, Jul 28, 3:47 PM
Unknown Object (File)
Sun, Jul 27, 2:16 PM
Unknown Object (File)
Wed, Jul 23, 3:54 PM
Unknown Object (File)
Jul 2 2025, 3:01 AM
Unknown Object (File)
Jun 30 2025, 8:21 PM
Unknown Object (File)
Jun 21 2025, 1:13 PM
Unknown Object (File)
Jun 2 2025, 7:50 AM
Subscribers

Details

Summary

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

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

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

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

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.