A few fixes for envkernel.sh
The MR contains a number of fixes for envkernel.sh:
- Run
make
as user. There isn't any reason to run the chroot command as root. - Allow switching between different kernel source directories.
- GCC6 wasn't actually compiling properly with GCC6.
- Support native compiling kernels (example: x86 kernels).
- Tested
linux-postmarketos-mainline
on qemu-amd64. - I packaged it for testing with (#1686 (closed)). I've spent more time on that issue but it's not exactly worthy of making an MR yet <.<
- Tested