Build scripts for building a Fedora kernel package from a (potentially dirty) work tree, intended for (faster) kernel development. Supports cross-compiling for aarch64.
Do not use this for proper package releases.
- Clone/symlink/copy kernel source tree to the
kernel/
directory. - Configure your kernel (e.g. run
make config
insidekernel/
or copy config to `kernel/.config). - Build packages via
./makerpm
. For cross-compiling from x86 to aarch64, run./makerpm -- --with-cross --target aarch64-linux-gnu
.
and for development
- Make changes to the kernel source.
- Go to step 3 to build updated packages.
Based on the work of Dorian Stoll for linux-surface.