Page MenuHomeFreeBSD

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

Authored by dim on Tue, Apr 22, 6:31 PM.
Tags
None
Referenced Files
F115422255: D49965.diff
Wed, Apr 23, 3:51 PM
F115421883: D49965.diff
Wed, Apr 23, 3:44 PM
Unknown Object (File)
Wed, Apr 23, 12:53 AM
Unknown Object (File)
Tue, Apr 22, 11:13 PM
Unknown Object (File)
Tue, Apr 22, 11:10 PM
Unknown Object (File)
Tue, Apr 22, 10:37 PM

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.Tue, Apr 22, 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.Tue, Apr 22, 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!