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, Nov 11, 5:17 AM
Unknown Object (File)
Oct 14 2024, 12:37 PM
Unknown Object (File)
Oct 5 2024, 7:58 PM
Unknown Object (File)
Oct 3 2024, 9:09 PM
Unknown Object (File)
Oct 2 2024, 7:44 PM
Unknown Object (File)
Sep 27 2024, 7:57 AM
Unknown Object (File)
Sep 23 2024, 3:08 AM
Unknown Object (File)
Sep 10 2024, 4:27 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

Lint
Lint Skipped
Unit
Tests Skipped

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