Gentoo Archives: gentoo-user

From: Bruce Hill <daddy@×××××××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] genkernel compile only one new module
Date: Thu, 08 Nov 2012 18:04:27
Message-Id: 20121108180251.GK17663@server
In Reply to: [gentoo-user] genkernel compile only one new module by "ifj. Stefán István"
1 On Thu, Nov 08, 2012 at 06:55:31PM +0100, "ifj. Stefán István" wrote:
2 > Hello!
3 >
4 > I have a quite good kernel, but today I realised that I need a kernel
5 > module that hadn't been compiled before.
6 > Is there any way to compile only that new module, and not compiling the
7 > whole kernel and all of the modules again?
8 >
9 > Thanks,
10 > István
11
12 make nconfig (or menuconfig or whatever-config)
13 select M for the module
14 exit and save
15 make && make modules_install
16 will put the module into /lib/modules/`uname -r`/build/
17 then you can "modprobe <symbol for module>"
18 and it will be in use.
19
20 You should go ahead and install that new kernel and edit your bootloader as
21 needed.
22
23 Bruce
24 --
25 Happy Penguin Computers >')
26 126 Fenco Drive ( \
27 Tupelo, MS 38801 ^^
28 support@×××××××××××××××××××××.com
29 662-269-2706 662-205-6424
30 http://happypenguincomputers.com/
31
32 Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting

Replies

Subject Author
Re: [gentoo-user] genkernel compile only one new module mindrunner <kernel@×××××.de>