6.2.2-xanmod1

This commit is contained in:
Joan Figueras 2023-03-04 12:07:25 +01:00
parent 322329960d
commit 6cf25d141b
2 changed files with 16 additions and 14 deletions

View File

@ -1,6 +1,6 @@
pkgbase = linux-xanmod
pkgdesc = Linux Xanmod - Current Stable (CURRENT)
pkgver = 6.2.1
pkgver = 6.2.2
pkgrel = 1
url = http://www.xanmod.org/
arch = x86_64
@ -15,13 +15,13 @@ pkgbase = linux-xanmod
options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.2.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.2.tar.sign
source = https://github.com/xanmod/linux/releases/download/6.2.1-xanmod1/patch-6.2.1-xanmod1.xz
source = https://github.com/xanmod/linux/releases/download/6.2.2-xanmod1/patch-6.2.2-xanmod1.xz
source = choose-gcc-optimization.sh
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
sha256sums = 74862fa8ab40edae85bb3385c0b71fe103288bce518526d63197800b3cbdecb1
sha256sums = SKIP
sha256sums = 8fd0f1e69f53e779fcbaddfa616bf5b7d651a3cec80c952217718bca474481d2
sha256sums = 688a5ce5406c24c04122e3652a8b6b2983feb55355aef13f8fd65444586cd38a
sha256sums = 5c84bfe7c1971354cff3f6b3f52bf33e7bbeec22f85d5e7bfde383b54c679d30
pkgname = linux-xanmod

View File

@ -23,12 +23,13 @@ if [ -z ${use_numa+x} ]; then
use_numa=y
fi
## For performance you can disable FUNCTION_TRACER/GRAPH_TRACER. Limits debugging and analyzing of the kernel.
## Stock Archlinux and Xanmod have this enabled.
## Set variable "use_tracers" to: n to disable (possibly increase performance)
## y to enable (stock default)
## Since upstream disabled CONFIG_STACK_TRACER (limits debugging and analyzing of the kernel)
## you can enable them setting this option. Caution, because they have an impact in performance.
## Stock Archlinux has this enabled.
## Set variable "use_tracers" to: n to disable (possibly increase performance, XanMod default)
## y to enable (Archlinux default)
if [ -z ${use_tracers+x} ]; then
use_tracers=y
use_tracers=n
fi
# Unique compiler supported upstream is GCC
@ -72,7 +73,7 @@ fi
pkgbase=linux-xanmod
_major=6.2
pkgver=${_major}.1
pkgver=${_major}.2
_branch=6.x
xanmod=1
pkgrel=${xanmod}
@ -109,7 +110,7 @@ done
sha256sums=('74862fa8ab40edae85bb3385c0b71fe103288bce518526d63197800b3cbdecb1'
'SKIP'
'8fd0f1e69f53e779fcbaddfa616bf5b7d651a3cec80c952217718bca474481d2'
'688a5ce5406c24c04122e3652a8b6b2983feb55355aef13f8fd65444586cd38a'
'5c84bfe7c1971354cff3f6b3f52bf33e7bbeec22f85d5e7bfde383b54c679d30')
export KBUILD_BUILD_HOST=${KBUILD_BUILD_HOST:-archlinux}
@ -153,11 +154,12 @@ prepare() {
--enable CONFIG_IKCONFIG_PROC
# User set. See at the top of this file
if [ "$use_tracers" = "n" ]; then
msg2 "Disabling FUNCTION_TRACER/GRAPH_TRACER only if we are not compiling with clang..."
if [ "$use_tracers" = "y" ]; then
msg2 "Enabling CONFIG_FTRACE only if we are not compiling with clang..."
if [ "${_compiler}" = "gcc" ]; then
scripts/config --disable CONFIG_FUNCTION_TRACER \
--disable CONFIG_STACK_TRACER
scripts/config --enable CONFIG_FTRACE \
--enable CONFIG_FUNCTION_TRACER \
--enable CONFIG_STACK_TRACER
fi
fi