Page MenuHomeFreeBSD

Move extra suffix-transformation rules into bsd.suffixes-extra.mk
ClosedPublic

Authored by dim on Apr 22 2025, 6:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 28, 1:34 PM
Unknown Object (File)
Fri, Aug 28, 1:32 PM
Unknown Object (File)
Fri, Aug 28, 12:52 PM
Unknown Object (File)
Wed, Aug 12, 11:27 PM
Unknown Object (File)
Mon, Aug 10, 7:54 AM
Unknown Object (File)
Sun, Aug 9, 8:46 PM
Unknown Object (File)
Sat, Aug 8, 5:29 PM
Unknown Object (File)
Sat, Aug 8, 10:52 AM

Details

Summary

To make it possible to use .SUFFIXES list and suffix-transformation
rules from bsd.lib.mk in other places, move them to a separate file,
bsd.suffixes-extra.mk.

Note that we cannot add the list and rules to bsd.suffixes.mk, since
that file also gets included by sys.mk, which applies to non-source
builds. That would require a whole ports exp-run.

No functional change intended.

NOTE: split off from D49962.

MFC after: 3 days

Diff Detail

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

Event Timeline

dim requested review of this revision.Apr 22 2025, 6:31 PM

I got my bikeshedding out of the way on other reviews so will reserve comment on the filename :)

This revision is now accepted and ready to land.Apr 22 2025, 6:44 PM

I got my bikeshedding out of the way on other reviews so will reserve comment on the filename :)

Yeah, it can't be bsd.suffixes.mk since that's already taken, and there is already a bsd.suffixes-posix.mk. I didn't have too much inspiration so bsd.suffixes-extra.mk seemed reasonable enough. I don't think there will be much need for _more_ of these bsd.suffixes files, at least I hope so!