Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    Join Date
    May 2004
    arch linux
    Welcome to the forums!

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

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

Posting Permissions

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