Building separate files for a kernel module
Greg KH
greg at kroah.com
Thu Apr 5 11:02:02 EDT 2018
On Thu, Apr 05, 2018 at 11:49:36AM -0300, Martin Galvan wrote:
> 2018-04-05 2:26 GMT-03:00 <valdis.kletnieks at vt.edu>:
> > On Wed, 04 Apr 2018 18:29:21 -0300, Martin Galvan said:
> >
> >> PS: Yes, I'm aware I could just add $(bar-objs) to mydriver-y and
> >> avoid building bar.a, but I really need to have those files as a
> >> separate library.
> >
> > What's driving the requirement for a separate library?
>
> I want my module to be DKMS-enabled, but since the 'bar' binaries
> don't use anything Linux-specific I don't want to distribute the
> sources for it.
Hahaha, good luck, please discuss this with a lawyer as to the
legalities involved. You are on your own here.
greg k-h
More information about the Kernelnewbies
mailing list