Skip to content

Instantly share code, notes, and snippets.

@tomreyn
tomreyn / how_to_build_kernel_on_Ubuntu.txt
Created February 1, 2020 21:16 — forked from silviucc/how_to_build_kernel_on_Ubuntu.txt
Easy way to build a mainline kernel on Ubuntu
Compiling a Linux kernel on Ubuntu
----------------------------------
This should be useful in the event that the user wants to investigate whether a newer kernel allows
certain peripherals to work better (or at all) or some other problems they might encounter while using
the kernel officially provided by Canonical.
As an example, I use the 4.1.5 release from kernel.org.
1) Make sure you have the build environment set up first: