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, Sep 15, 12:34 AM
Unknown Object (File)
Sun, Sep 14, 4:53 AM
Unknown Object (File)
Jul 31 2025, 8:49 PM
Unknown Object (File)
Jul 28 2025, 3:47 PM
Unknown Object (File)
Jul 27 2025, 2:16 PM
Unknown Object (File)
Jul 23 2025, 3:54 PM
Unknown Object (File)
Jul 2 2025, 3:01 AM
Unknown Object (File)
Jun 30 2025, 8:21 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.