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
F142153043: D49965.id154113.diff
Fri, Jan 16, 1:04 PM
F142112180: D49965.id154172.diff
Fri, Jan 16, 3:08 AM
Unknown Object (File)
Tue, Jan 6, 7:08 AM
Unknown Object (File)
Wed, Dec 31, 9:51 PM
Unknown Object (File)
Thu, Dec 18, 11:08 PM
Unknown Object (File)
Dec 11 2025, 9:53 PM
Unknown Object (File)
Nov 26 2025, 7:04 PM
Unknown Object (File)
Nov 23 2025, 9:40 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!