Page MenuHomeFreeBSD

kmod.mk: Allow extra objects to be specified in modules
ClosedPublic

Authored by imp on Jun 2 2021, 4:18 PM.

Details

Summary

OBJS are automatically added to CLEANFILES. For pre-built objects, this
is not desirable since it will delete the object from the source
tree. Introduce EXTRA_OBJS which list these object files, but aren't
added to clean files.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

imp requested review of this revision.Jun 2 2021, 4:18 PM
imp created this revision.
emaste added a subscriber: emaste.

LGTM modulo discussions happening on IRC around the variable name.

This revision is now accepted and ready to land.Jun 2 2021, 4:25 PM

ed's commments use BLOB_OBJS and document it.

This revision now requires review to proceed.Jun 2 2021, 4:29 PM
This revision is now accepted and ready to land.Jun 2 2021, 4:31 PM