All of lore.kernel.org
 help / color / mirror / Atom feed
From: omgalvan.86@gmail.com (Martin Galvan)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Building separate files for a kernel module
Date: Thu, 5 Apr 2018 11:49:36 -0300	[thread overview]
Message-ID: <CAN19L9GzpC3=OFjdsb1fBgaM9a3S2YUP6rtnAqqKmRsTM-fRJA@mail.gmail.com> (raw)
In-Reply-To: <50983.1522905998@turing-police.cc.vt.edu>

2018-04-05 2:26 GMT-03:00  <valdis.kletnieks@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. It's similar to the "_shipped" binary blobs the
documentation mentions, except in this case I want to use the kbuild
machinery to build it.

  reply	other threads:[~2018-04-05 14:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-04 21:29 Building separate files for a kernel module Martin Galvan
2018-04-05  5:26 ` valdis.kletnieks at vt.edu
2018-04-05 14:49   ` Martin Galvan [this message]
2018-04-05 15:02     ` Greg KH
2018-04-09 17:19       ` Martin Galvan
2018-04-18 15:57         ` Daniel.
2018-04-18 15:57           ` Daniel.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN19L9GzpC3=OFjdsb1fBgaM9a3S2YUP6rtnAqqKmRsTM-fRJA@mail.gmail.com' \
    --to=omgalvan.86@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.