Building kernel source

Vlad Dogaru ddvlad at rosedu.org
Sun Feb 26 17:35:29 EST 2012


On Mon, Feb 27, 2012 at 12:18 AM, Sertaç Olgunsoylu
<sertacolgunsoylu at gmail.com> wrote:
> Hi,
> In the kernel README file, it is written following commands to build kernel:
> make config

Use a prettier tool such as menuconfig or {x,g,k}config.

> make
> sudo make modules_install install
>
> Also, there are some other distro specific methods to build kernel
> such as make-kpkg. Does it matter which one of them is being used to
> build kernel? Should I stick to commands given in the README file or
> using distro specific utilities is OK too?

Using distro specific tools is OK.  In my experience make-kpkg uses an
existing .config, which means you can run make menuconfig, then use
make-kpkg to build a distro specific package containing your kernel.

Hope this helps,
Vlad



More information about the Kernelnewbies mailing list