LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-14-2012, 08:01 AM   #1
alexeno
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
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
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.
 
  


Reply



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
[SOLVED] Bash script for printing days in a specific month (taking into account a leap year) shayno90 Programming 28 08-23-2018 05:50 PM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:52 AM.

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