reform2_mkkernel/README.md

31 lines
791 B
Markdown

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/