Update mirror 'linux-xanmod-edge' to '6a4ecc4'
This commit is contained in:
parent
e6c342ac2d
commit
7116b256b5
3 changed files with 17 additions and 17 deletions
|
@ -9,7 +9,7 @@
|
|||
"linux-xanmod-edge": {
|
||||
"url": "https://aur.archlinux.org/linux-xanmod-edge.git",
|
||||
"branch": "master",
|
||||
"revision": "4ebb83232bc4d7bc16399c5ae49c0a512dcdea95"
|
||||
"revision": "6a4ecc496f12cb5311a0e1df9e6182bfa39132e9"
|
||||
},
|
||||
"proton-ge-custom": {
|
||||
"url": "https://aur.archlinux.org/proton-ge-custom.git",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgbase = linux-xanmod-edge
|
||||
pkgdesc = Linux Xanmod - Latest Mainline (EDGE)
|
||||
pkgver = 6.0.0
|
||||
pkgver = 6.0.2
|
||||
pkgrel = 1
|
||||
url = http://www.xanmod.org/
|
||||
arch = x86_64
|
||||
|
@ -15,13 +15,13 @@ pkgbase = linux-xanmod-edge
|
|||
options = !strip
|
||||
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.0.tar.xz
|
||||
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.0.tar.sign
|
||||
source = https://github.com/xanmod/linux/releases/download/6.0.0-xanmod1/patch-6.0.0-xanmod1.xz
|
||||
source = https://github.com/xanmod/linux/releases/download/6.0.2-xanmod1/patch-6.0.2-xanmod1.xz
|
||||
source = choose-gcc-optimization.sh
|
||||
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
|
||||
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
|
||||
sha256sums = 5c2443a5538de52688efb55c27ab0539c1f5eb58c0cfd16a2b9fbb08fd81788e
|
||||
sha256sums = SKIP
|
||||
sha256sums = c4c9ceae47e1809d2e32ef5980f4e9410777273eb6d1cae67788367a2a2d5cd4
|
||||
sha256sums = feb15accc0576f78eca9cbf8f8178419c4a2aeb3915a9bfefacf2467bcc55b35
|
||||
sha256sums = dda2e928f3b02c28e71d4e99f90b499b4c99a265d30fceec7dc1dd7082afc285
|
||||
|
||||
pkgname = linux-xanmod-edge
|
||||
|
|
|
@ -31,14 +31,15 @@ if [ -z ${use_tracers+x} ]; then
|
|||
use_tracers=y
|
||||
fi
|
||||
|
||||
## NOTICE: clang config is not ready yet in 5.17.x
|
||||
# Unique compiler supported upstream is GCC
|
||||
## Choose between GCC and CLANG config (default is GCC)
|
||||
if [ -z ${_compiler+x} ] || [ "$_compiler" = "clang" ]; then
|
||||
_compiler=gcc
|
||||
## Use the environment variable "_compiler=clang"
|
||||
if [ "${_compiler}" = "clang" ]; then
|
||||
_compiler_flags="CC=clang HOSTCC=clang LLVM=1 LLVM_IAS=1"
|
||||
fi
|
||||
|
||||
# Choose between the 3 main configs for EDGE branch. Default x86-64-v2 which use CONFIG_GENERIC_CPU2:
|
||||
# Possible values: config_x86-64 / config_x86-64-v2 (default) / config_x86-64-v3
|
||||
# Choose between the 4 main configs for EDGE branch. Default x86-64-v2 which use CONFIG_GENERIC_CPU2:
|
||||
# Possible values: config_x86-64 / config_x86-64-v2 (default) / config_x86-64-v3 / config_x86-64-v4
|
||||
# This will be overwritten by selecting any option in microarchitecture script
|
||||
# Source files: https://github.com/xanmod/linux/tree/5.17/CONFIGS/xanmod/gcc
|
||||
if [ -z ${_config+x} ]; then
|
||||
|
@ -71,7 +72,7 @@ fi
|
|||
|
||||
pkgbase=linux-xanmod-edge
|
||||
_major=6.0
|
||||
pkgver=${_major}.0
|
||||
pkgver=${_major}.2
|
||||
_branch=6.x
|
||||
xanmod=1
|
||||
pkgrel=${xanmod}
|
||||
|
@ -108,7 +109,7 @@ done
|
|||
|
||||
sha256sums=('5c2443a5538de52688efb55c27ab0539c1f5eb58c0cfd16a2b9fbb08fd81788e'
|
||||
'SKIP'
|
||||
'c4c9ceae47e1809d2e32ef5980f4e9410777273eb6d1cae67788367a2a2d5cd4'
|
||||
'feb15accc0576f78eca9cbf8f8178419c4a2aeb3915a9bfefacf2467bcc55b35'
|
||||
'dda2e928f3b02c28e71d4e99f90b499b4c99a265d30fceec7dc1dd7082afc285')
|
||||
|
||||
export KBUILD_BUILD_HOST=${KBUILD_BUILD_HOST:-archlinux}
|
||||
|
@ -137,12 +138,11 @@ prepare() {
|
|||
done
|
||||
|
||||
# Applying configuration
|
||||
cp -vf CONFIGS/xanmod/${_compiler}/${_config} .config
|
||||
cp -vf CONFIGS/xanmod/gcc/${_config} .config
|
||||
# enable LTO_CLANG_THIN
|
||||
if [ "${_compiler}" = "clang" ]; then
|
||||
scripts/config --disable LTO_CLANG_FULL
|
||||
scripts/config --enable LTO_CLANG_THIN
|
||||
_LLVM=1
|
||||
fi
|
||||
|
||||
# CONFIG_STACK_VALIDATION gives better stack traces. Also is enabled in all official kernel packages by Archlinux team
|
||||
|
@ -202,20 +202,20 @@ prepare() {
|
|||
if [ "$_localmodcfg" = "y" ]; then
|
||||
if [ -f $HOME/.config/modprobed.db ]; then
|
||||
msg2 "Running Steven Rostedt's make localmodconfig now"
|
||||
make LLVM=$_LLVM LLVM_IAS=$_LLVM LSMOD=$HOME/.config/modprobed.db localmodconfig
|
||||
make ${_compiler_flags} LSMOD=$HOME/.config/modprobed.db localmodconfig
|
||||
else
|
||||
msg2 "No modprobed.db data found"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
make LLVM=$_LLVM LLVM_IAS=$_LLVM olddefconfig
|
||||
make ${_compiler_flags} olddefconfig
|
||||
|
||||
make -s kernelrelease > version
|
||||
msg2 "Prepared %s version %s" "$pkgbase" "$(<version)"
|
||||
|
||||
if [ "$_makenconfig" = "y" ]; then
|
||||
make LLVM=$_LLVM LLVM_IAS=$_LLVM nconfig
|
||||
make ${_compiler_flags} nconfig
|
||||
fi
|
||||
|
||||
# save configuration for later reuse
|
||||
|
@ -224,7 +224,7 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd linux-${_major}
|
||||
make LLVM=$_LLVM LLVM_IAS=$_LLVM all
|
||||
make ${_compiler_flags} all
|
||||
}
|
||||
|
||||
_package() {
|
||||
|
|
Loading…
Reference in a new issue