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)
Fri, Oct 10, 8:07 PM
Unknown Object (File)
Fri, Oct 10, 8:07 PM
Unknown Object (File)
Fri, Oct 10, 8:05 PM
Unknown Object (File)
Fri, Oct 10, 2:41 PM
Unknown Object (File)
Sun, Sep 28, 1:24 AM
Unknown Object (File)
Sep 5 2025, 9:17 AM
Unknown Object (File)
Jul 11 2025, 2:15 PM
Unknown Object (File)
Jul 7 2025, 2:49 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