Find the answer to your Linux question:
Results 1 to 2 of 2
Hi. I wondered if I can recompile just some little parts of a kernel after I built and installed form source, which takes a lot of time. For example, suppose ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    7

    Re-compile kernel parts


    Hi. I wondered if I can recompile just some little parts of a kernel after I built and installed form source, which takes a lot of time.
    For example, suppose I want to modify some little lines of code inside networking code, (e.g. net/core/dev.c), how can I re-compile and run the "hacked" kernel in order for the modifications I need to be active?

    I know about the development of modules, but don't know if it can be usefull about hacking networking stuff, if I can unload a particular module or something, and re-load after my modifications.

    Thanks a lot

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Welcome to the forums!

    I no longer build my own kernels, but back when I did so, this guide proved to be extremely helpful:

    http://www.digitalhermit.com/linux/K...ild-HOWTO.html

    It should cover the various shortcuts that you might want to use for your kernel builds.
    oz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •