This commit is contained in:
Nathan 2022-03-11 04:12:59 -06:00
parent d9d05819e1
commit 67fc4d8ce2
2 changed files with 10735 additions and 2 deletions

View file

@ -27,7 +27,7 @@ plain ' `.-:///////:-.`'
_where="$PWD" # track basedir as different Arch based distros are moving srcdir around
_ispkgbuild="true"
_distro="Arch"
_basever=515
source "$_where"/customization.cfg # load default configuration from file
source "$_where"/linux-tkg-config/prepare
@ -57,6 +57,7 @@ if [ -n "$_custom_pkgbase" ]; then
else
pkgbase=linux"${_basever}"-tkg-"${_cpusched}"${_compiler_name}
fi
pkgbase=linux
pkgname=("${pkgbase}" "${pkgbase}-headers")
pkgver="${_basekernel}"."${_sub}"
pkgrel=247
@ -819,7 +820,6 @@ build() {
# remove -O2 flag and place user optimization flag
CFLAGS=${CFLAGS/-O2/}
CFLAGS+=" ${_compileropt}"
# build!
_runtime=$( time ( schedtool -B -n 1 -e ionice -n 1 make ${_force_all_threads} ${llvm_opt} LOCALVERSION= bzImage modules 2>&1 ) 3>&1 1>&2 2>&3 ) || _runtime=$( time ( make ${_force_all_threads} ${llvm_opt} LOCALVERSION= bzImage modules 2>&1 ) 3>&1 1>&2 2>&3 )
}

10733
linux-tkg/kernelconfig.new Normal file

File diff suppressed because it is too large Load diff