Maintainers how to update linux kernel

This commit is contained in:
Ciro Santilli
2017-11-18 18:30:40 +00:00
parent eebcca4e69
commit 959ecac538

View File

@@ -1,5 +1,30 @@
# Maintainers
## How to update the Linux kernel?
If you don't care about educational patches:
cd linux
git fetch
git checkout master
If you do:
last_mainline_revision=v4.14
git rebase --onto master $last_mainline_revision
Then rebuild the kernel:
./build -t linux-reconfigure
Now, all you kernel modules may break, although they are usually trivial breaks of things moving around headers or to sub-structs.
The userland, however, should simply not break, as Linus enforces strict backwards compatibility of userland interfaces.
This backwards compatibility is just awesome, it makes getting and running the latest master painless.
This also makes this repo the perfect setup to develop the Linux kernel.
## How to add new Buildroot options?
cd buildroot/output.x86_64~