Page MenuHomeFreeBSD

src.opts.mk: Decouple MK_INCLUDES from MK_TOOLCHAIN
ClosedPublic

Authored by emaste on May 1 2023, 9:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 11:21 PM
Unknown Object (File)
Sun, May 17, 11:20 PM
Unknown Object (File)
Sun, May 17, 11:20 PM
Unknown Object (File)
Sun, May 17, 11:00 PM
Unknown Object (File)
Apr 8 2026, 8:43 AM
Unknown Object (File)
Mar 16 2026, 8:56 PM
Unknown Object (File)
Mar 4 2026, 5:57 PM
Unknown Object (File)
Mar 2 2026, 2:56 AM
Subscribers

Details

Summary

Prior to 590461a4b89b installation of include files was controlled directly by ${MK_TOOLCHAIN}. 590461a4b89b added an INCLUDES knob which defaulted to YES, and setting WITHOUT_TOOLCHAIN forced it off.

Decouple them now, as there are reasonable use cases for installing libraries and include files without a compiler or other tool chain components.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste requested review of this revision.May 1 2023, 9:05 PM

Maybe worth noting in the commit message that we already install the libraries (static and .so symlinks, not just the .so.X dependencies) for WITHOUT_TOOLCHAIN so it makes sense to install the headers to be able to use them?

This revision is now accepted and ready to land.May 1 2023, 9:12 PM