Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #241760 > unrolled thread

Correct way to build in-tree module?

Started byMatt Ventura <mattventura@Me.com>
First post2021-10-28 20:30 +0200
Last post2021-12-10 12:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Correct way to build in-tree module? Matt Ventura <mattventura@Me.com> - 2021-10-28 20:30 +0200
    Re: Correct way to build in-tree module? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-10 12:10 +0100

#241760 — Correct way to build in-tree module?

FromMatt Ventura <mattventura@Me.com>
Date2021-10-28 20:30 +0200
SubjectCorrect way to build in-tree module?
Message-ID<Ddik1-204-1@gated-at.bofh.it>
Hi,

I'd like to build a module that is in-tree, but not enabled by the 
Debian kernel by default (module 'pmbus', selected by CONFIG_PMBUS). I 
would rather not build an entire custom kernel just for one module.

Most of the resources out there are for building *out of tree* modules, 
but this is in-tree. Or, they tell you how to do a one-time build of the 
module, but not how to get it into DKMS or anything that would keep the 
module up to date as you install new kernel versions. The module is not 
listed in module-assistant either.

So, what is the right (or at least, best) way to do this, that won't 
break on a kernel update?

Thanks,

Matt

[toc] | [next] | [standalone]


#242892

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2021-12-10 12:10 +0100
Message-ID<DsLWN-5H2-3@gated-at.bofh.it>
In reply to#241760

[Multipart message — attachments visible in raw view] — view raw

On Jo, 28 oct 21, 10:57:39, Matt Ventura wrote:
> Hi,
> 
> I'd like to build a module that is in-tree, but not enabled by the Debian
> kernel by default (module 'pmbus', selected by CONFIG_PMBUS). I would rather
> not build an entire custom kernel just for one module.
> 
> Most of the resources out there are for building *out of tree* modules, but
> this is in-tree. Or, they tell you how to do a one-time build of the module,
> but not how to get it into DKMS or anything that would keep the module up to
> date as you install new kernel versions. The module is not listed in
> module-assistant either.
> 
> So, what is the right (or at least, best) way to do this, that won't break
> on a kernel update?

Try asking on debian-kernel list.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web