Handbook:HPPA/Blocks/Kernel

From Gentoo Wiki
Jump to: navigation, search


Compiling and installing

Important
To compile a 64-bit kernel, first emerge kgcc64. However, running a 64-bit kernel is discouraged. Only run a 64-bit kernel if the system has more than 4GB of RAM or if the server requires it, i.e. on the A500.

Now that the kernel is configured, it is time to compile and install it. Exit the configuration and start the compilation process:

root #make && make modules_install
Note
It is possible to enable parallel builds using make -jX with X being the number of parallel tasks that the build process is allowed to launch. This is similar to the instructions about /etc/portage/make.conf earlier, with the MAKEOPTS variable.

When the kernel has finished compiling, copy the kernel image to /boot/. Use whatever name is appropriate for the kernel choice and remember it as it will be needed later on when configuring the bootloader. Remember to replace kernel-3.16.5-gentoo with the name and version of the installed kernel.

root #cp vmlinux /boot/kernel-3.16.5-gentoo