diff options
author | antman666 | 2022-05-01 23:11:58 +0800 |
---|---|---|
committer | antman666 | 2022-05-01 23:11:58 +0800 |
commit | b2acc35be322bde669b3113f5f3a558b86b79c7e (patch) | |
tree | a680091ecb56f01c6e521ee34e7f60fd3b3dfc22 | |
parent | 92bf6b7b4cff6f4cef5b330a29821b5c996bfe8b (diff) | |
download | aur-b2acc35be322bde669b3113f5f3a558b86b79c7e.tar.gz |
update linux-xanmod-tt-uksm-cjktty to 5.15.36-1
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 11 insertions, 38 deletions
@@ -12,6 +12,10 @@ pkgbase = linux-xanmod-tt-uksm-cjktty makedepends = perl makedepends = tar makedepends = xz + makedepends = clang + makedepends = llvm + makedepends = lld + makedepends = python options = !strip source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.tar.xz source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.tar.sign @@ -43,11 +43,6 @@ if [ -z ${use_tracers+x} ]; then use_tracers=n fi -# Selecting between tickless idle, perodic tics or full tickless -if [ -z ${_tickrate+x} ]; then - _tickrate="full" -fi - ## Choose between GCC and CLANG config (default is CLANG) if [ -z ${_compiler+x} ]; then _compiler=clang @@ -196,13 +191,13 @@ prepare() { if [ $_use_llvm_type = "thin" ]; then msg2 "Enable LTO_CLANG_THIN" scripts/config --disable LTO_NONE \ - --enable LTO \ - --enable LTO_CLANG \ - --enable ARCH_SUPPORTS_LTO_CLANG \ - --enable ARCH_SUPPORTS_LTO_CLANG_THIN \ - --enable HAS_LTO_CLANG \ - --enable LTO_CLANG_THIN \ - --enable HAVE_GCC_PLUGINS + --enable LTO \ + --enable LTO_CLANG \ + --enable ARCH_SUPPORTS_LTO_CLANG \ + --enable ARCH_SUPPORTS_LTO_CLANG_THIN \ + --enable HAS_LTO_CLANG \ + --enable LTO_CLANG_THIN \ + --enable HAVE_GCC_PLUGINS elif [ $_use_llvm_type = "full" ]; then msg2 "Enable LTO_CLANG_FULL" scripts/config --disable LTO_NONE \ @@ -235,32 +230,6 @@ prepare() { fi fi - if [ "$_tickrate" = "perodic" ]; then - msg2 "Enabling periodic ticks..." - scripts/config --disable CONFIG_NO_HZ_IDLE - scripts/config --disable CONFIG_NO_HZ_FULL - scripts/config --disable CONFIG_NO_HZ - scripts/config --disable CONFIG_NO_HZ_COMMON - scripts/config --enable CONFIG_HZ_PERIODIC - elif [ "$_tickrate" = "idle" ]; then - msg2 "Enabling tickless idle..." - scripts/config --disable CONFIG_HZ_PERIODIC - scripts/config --disable CONFIG_NO_HZ_FULL - scripts/config --enable CONFIG_NO_HZ_IDLE - scripts/config --enable CONFIG_NO_HZ - scripts/config --enable CONFIG_NO_HZ_COMMON - elif [ "$_tickrate" = "full" ]; then - msg2 "Enabling tickless idle..." - scripts/config --disable CONFIG_HZ_PERIODIC - scripts/config --disable CONFIG_NO_HZ_IDLE - scripts/config --disable CONFIG_CONTEXT_TRACKING_FORCE - scripts/config --enable CONFIG_NO_HZ_FULL_NODEF - scripts/config --enable CONFIG_NO_HZ_FULL - scripts/config --enable CONFIG_NO_HZ - scripts/config --enable CONFIG_NO_HZ_COMMON - scripts/config --enable CONFIG_CONTEXT_TRACKING - fi - if [ "$use_numa" = "n" ]; then msg2 "Disabling NUMA..." scripts/config --disable CONFIG_NUMA |