remusmp / rpi-rt-kernel

56 stars 34 forks source link

Parametrize the build with kernel version and rt patch version #2

Closed remusmp closed 3 months ago

remusmp commented 2 years ago

Arguments:

  1. Kernel version (e.g. KERNEL_VERSION=5.10). If argument is missing then default to latest.
  2. RT patch version (e.g. RT_PATCH_VERSION=rt54). If argument is missing then default to latest.
jakorten commented 2 years ago

Current file is broken because of this: patch-5.10.73-rt54.patch.gz -> patch-5.10.78-rt55.patch.gz

remusmp commented 2 years ago

Thanks for the contributions! Much appreciated!

One more thing needs to be done, i.e. update the .config file with the right settings. One cannot use a .config file from an older version with a newer version. I tried that a few weeks ago and the kernel, although it built, was not fully preempt - I had to regenerate the .config file. So my proposal here is to:

remusmp commented 2 years ago

I've just pushed the following work on this:

TO DO: