Find the answer to your Linux question:
Results 1 to 5 of 5
When the kernel is recompiled, does it recompile the entire kernel or are some parts of the kernel fixed and not changeable?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714

    Kernel Compiling


    When the kernel is recompiled, does it recompile the entire kernel or are some parts of the kernel fixed and not changeable?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    It depends on why and what do you want to achieve. You can compile particular modules or entire kernel or install/apply kernel patches.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714

    Kernel compiling

    Does

    make dep
    make clean
    make modules
    make modules_install
    make bzImage

    compile the entire kernel or is there pieces of kernel code that are fixed andt will escape this process?(not counting kernel patches and bug fixes)

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    You are compiling Modules only. Check here. It has answers to most queries regarding kernel compilation. Do post back if you stuck anywhere.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    "make dep" is not necessary for 2.6 kernels. The other commands compile the kernel and any modules you selected during kernel configuration.

Posting Permissions

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