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


Groups > linux.debian.user > #241760

Correct way to build in-tree module?

From Matt Ventura <mattventura@Me.com>
Newsgroups linux.debian.user
Subject Correct way to build in-tree module?
Date 2021-10-28 20:30 +0200
Message-ID <Ddik1-204-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web