Page MenuHomeFreeBSD

bsd.compat.mk: Provide _LIBCOMPAT alongside existing libcompat
AcceptedPublic

Authored by jrtc27 on Jul 27 2023, 10:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 21, 4:22 AM
Unknown Object (File)
Sep 30 2024, 5:04 AM
Unknown Object (File)
Sep 28 2024, 10:24 PM
Unknown Object (File)
Sep 24 2024, 3:03 AM
Unknown Object (File)
Sep 22 2024, 2:25 AM
Unknown Object (File)
Sep 21 2024, 4:59 AM
Unknown Object (File)
Sep 17 2024, 2:15 PM
Unknown Object (File)
Sep 3 2024, 7:03 AM

Details

Reviewers
brooks
Summary

Currently there are no uses of the uppercase version when using
bsd.compat.mk with WANT/NEED_COMPAT, only within the libraries build
done by Makefile.libcompat where you instead use COMPAT_LIBCOMPAT.
However, we did used to provide this (although perhaps not as an
official interface) prior to 91d7edd549f5 ("Generalise libcompat to be a
list rather than a single option"), so let's bring it back for
completeness for any future uses that may arise.

Note that it's called _LIBCOMPAT rather than LIBCOMPAT so as to not
conflict with the src.libnames.mk variable for the library called
libcompat.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52872
Build 49763: arc lint + arc unit

Event Timeline

Seems unlikely it was used, but also harmless.

"uses tha may" in the message.

This revision is now accepted and ready to land.Jul 27 2023, 11:19 PM

Seems unlikely it was used, but also harmless.

I'm pretty sure I checked at the time and didn't bother to reintroduce it as a result, but D41217 wants to use it.