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)
Mon, Jun 24, 6:01 AM
Unknown Object (File)
Mon, Jun 24, 5:51 AM
Unknown Object (File)
Apr 24 2024, 10:23 AM
Unknown Object (File)
Mar 8 2024, 9:29 AM
Unknown Object (File)
Feb 9 2024, 4:47 AM
Unknown Object (File)
Jan 5 2024, 9:27 PM
Unknown Object (File)
Jan 3 2024, 4:44 AM
Unknown Object (File)
Dec 22 2023, 11:01 PM
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