Build tool for compiling the Linux kernel with Clear Linux's patches with an optimized kconfig and at maximum build performance
Find a file
2024-08-31 21:46:10 +02:00
kernel@e6ad9bba1b Remove PKGBUILDs, use upstream 2024-08-06 21:17:23 +02:00
.gitmodules Remove PKGBUILDs, use upstream 2024-08-06 21:17:23 +02:00
buildtool.sh Fix conflict resolution 2024-08-31 21:46:10 +02:00
cleantool.sh Remove PKGBUILDs, use upstream 2024-08-06 21:17:23 +02:00
kconfig Remove PKGBUILDs, use upstream 2024-08-06 21:17:23 +02:00
LICENSE Remove PKGBUILDs, use upstream 2024-08-06 21:17:23 +02:00
README.md Fixed wording in README 2024-08-07 00:35:59 +02:00

jstm-optimized

This repository includes a build tool for compiling the Linux kernel with performance patches from the Linux Clear project. It allows for build time speedups and easier PKGBUILD configuration. This repository is based on the AUR package linux-clear (which is also maintained by me) and simply patches it's PKGBUILD file and passes some environment variables.

Before I took over the AUR package I maintained a softfork of the package here. Now it just contains tools for it as I am now able to introduce things to upstream.

Warning

As with every other software, make sure to regularily update your kernel. Missing updates and security patches will make your system vulnerable to attacks.

Changes

This repository improves/changes the following things over linux-clear:

  • includes a build tool with build time performance improvements
  • defaults to cpu governor schedutil instead of performance (you don't need maximum performance 24/7 anyway, use gamemode for maximum game performance or use cpu-power)
  • includes the powersave cpu governor for battery-powered devices

Building

To build this kernel, run this command in your terminal:

curl -sSL "https://git.staropensource.de/JeremyStarTM/jstm-optimized/raw/branch/develop/buildtool.sh">/tmp/buildtool.sh
chmod +x /tmp/buildtool.sh
/tmp/buildtool.sh

Building from local repository

If you've already built this kernel or want to compile the kernel from your local repository execute this:

env BUILDTOOL_LOCALDIR=SET ./buildtool.sh

Cleaning repository

To remove everything makepkg produced, simply run:

./cleantool.sh