Compile kernel

xiaoxiao2021-03-06  22

First Stage, prepare your .config:

Unpack your kernel Source Tarball

2. CD to the kernel Source Tree

3. Make mrproperty // it is a good practice to clean up the source tree even if you are unpack it from tarball

4. Make Menuconfig or Make Xconfig // Select Or de-Select WhatVer Applicable To you

5. When Finish, Save Your configuration file as .config in the source tree.

Second Stage, Build The Kernel and modules:

Make-KPKG --Append-to-Version-Custom Keernel-Image

IT Takes Quite a long time in this step step. After finish, you shouth - *. Deb in The Parent Directory.

Become root and install it with dpkg -i kernel-image - *. Deb

转载请注明原文地址:https://www.9cbs.com/read-65558.html

New Post(0)