First commit (WIP)

This commit is contained in:
Yorick Barbanneau 2021-04-15 02:13:53 +02:00
commit 1bbd8d5146
17 changed files with 15205 additions and 0 deletions

31
README.md Normal file
View file

@ -0,0 +1,31 @@
MNT Reform Kernel build script
------------------------------
Work in progress script for building Linux Kernel for the MNT Refom 2 computer.
## Build with docker
Build the image :
```
docker build -t reform_kernel_build .
```
Then run the container with with a directory mapped to `/output`:
```
docker run -v /home/docker/output:/output --env KERNEL_VERSION=5.11 --rm reform_kernel_build
```
You need to pass `KERNEL_VERSION` environment variable to your container do tell
`make_kernel.sh` which version to compile.
Kernel and dtb files will be in the directory mapped to `/output` in the
container.
## Licence
This work is derivated from MNT script found [here][l_mnt_image] and licenced
under the GPLv3 Licence
[l_mnt_image]:https://source.mnt.re/reform/reform-system-image/