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
F105943522: D8246.diff
Sun, Dec 22, 10:06 PM
Unknown Object (File)
Nov 5 2024, 6:23 AM
Unknown Object (File)
Oct 25 2024, 12:35 AM
Unknown Object (File)
Oct 19 2024, 12:01 PM
Unknown Object (File)
Sep 11 2024, 12:49 AM
Unknown Object (File)
Sep 8 2024, 10:13 PM
Unknown Object (File)
Sep 8 2024, 4:36 AM
Unknown Object (File)
Aug 31 2024, 5:05 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.