Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 12-14-2012, 08:01 AM   #1
LQ Newbie
Registered: Dec 2012
Distribution: Ubuntu
Posts: 1

Rep: Reputation: Disabled
Taking into account of a change in a kernel source file

I would like to know how to modify a kernel source file without having to recompile all the kernel afterward?

(I used the make-kpkg method to compile my kernel.)
Old 12-14-2012, 12:47 PM   #2
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 978

Rep: Reputation: 118Reputation: 118
I have no clue what "make-kpkg" is
But if I remember correctly when I downloaded the "normal" kernel sources and modified the code of a module, just by issuing a "make" (or e.g. "make -j8" if you have 8 CPU cores available on your PC) recompiled only that module and skipped the rest. On the other side, if you change a file that is part of the "core" of the kernel, most of the rest (which probably has a dependency towards what you modified) will be recompiled as well.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash script for printing days in a specific month (taking into account a leap year) shayno90 Programming 25 04-26-2012 10:51 AM
kernel execute file is diffternet compiled from same kernel source at different time willchen Linux - Kernel 5 01-01-2010 01:04 AM
Change my kernel-source jasone Linux - Newbie 3 04-01-2005 02:27 PM
Kernel Source Files and Root Account opitica Linux - Newbie 2 02-23-2005 04:34 AM
Where can I change kernel source dir? LinODE Slackware 1 09-03-2003 12:02 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration