summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 13 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2a79406..07e6e28 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,12 +20,12 @@ _custom=1
pkgbase=linux-ck
_supver=5
-_majver=6
-_minver=17
+_majver=7
+_minver=1
_gccpatchver='20200527'
_gccpatchger='10.1'
-_gccpatchker='v5.5-v5.6'
-_ckpatchversion=ck2
+_gccpatchker='5.7'
+_ckpatchversion=ck1
if [ "$_minver" == "0" ]; then
pkgver=${_supver}.${_majver}
else
@@ -38,7 +38,7 @@ url='https://kernel.org'
arch=(x86_64)
license=(GPL2)
makedepends=(
- bc kmod libelf
+ bc kmod libelf pahole
)
conflicts=('linux-libre-ck')
options=('!strip')
@@ -59,15 +59,15 @@ validpgpkeys=(
'647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman
)
# https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
-b2sums=('848b0a64ceff91de0e99bcaba826d11df9f95afc2e264c5b26a3bbb3da3f9cd2ec0910cd5923de0464cb1bc8d349455ef5e8c602b982cce5a0a942851208c1d4'
+b2sums=('db92398c10b9e609e833851638901a63e84d2e6fe13ded17ebfe27c3c14e12df8f846ca08e649c18d9f61ea3ca51b6a0e86cce14484ddb91091f3a5dabd642cb'
'SKIP'
'ab1fb19c67d4c107f75767581c33d9c1458b4d9fdb88f4adb41d30a36f5a2f95f1c48ef079eb87e1e6e8ce2f98b293195cb2c0f2a8ec975aa817453289158c6e'
- '06147268c08ceb6ecfba5e057fd26d2f14f7cfb4aff7c766f0b82a186b1fc34727a797e43fc6c833cc6e6f8b5ba904f2bca66d55cb0578481000b8921ed5a564'
+ '29b2530e91a7c0f75c47d75361a94ec92fec398cef1b3e213e97c8f9e0ed210711c4c63ae7717f59273105a83e30397cbd5b7252cb94c06d9b328a24c70ad444'
'76137504bd6eb54b9aa1eb3f3d78ec60b80d607d0554ba5ec60431db2b62963354e1461b57a8de4f89d4399ef7f66041c6b2366b5d9fd53d5f9857a9dabd4188'
'c8a52c056ecaeba55bee0b17c6a264d460792694e883b5654b8c1694b376a25be4aff1e6b86b5e3486c6e3adfc2062f805e91a9cac1156d0104d7e781028bec6'
'2e58bb89b247b1678355368956e67c1de51fcde97a227b2162f6771e30f17fa5520faafe7be4b6816a542e7ae10d05f64c6b6354f352c12746d4b8da632936dd'
'fde132f3705d908e6f2147c78a2193289916d72304ca5efa2229d79fc3e57a857314ce94e71425caef2f7f7b6cf87f05ef86335dc8bd4be78e7035afe608005a'
- '00c0ce66a18f762257684e43d9a5addeb5b3f4f6583e94963a83a74e47642e5b55456d7a220eda4d42932bd1f5ea2582785a187f9542698ac0a11dbea7cbe90d'
+ '0adb22724c00e3edc44baa75b61af07dad119da81fe152d04c62dfd4d1eb4314862059dccb1768aff0b2e7194b78a73d6783328ed207885ddcd79081e4d37bbe'
'b4e1377d97ad7e8144d6e55b6d43731e3271a5aec65b65ca6d81026a95f15f549b9303fb3c6f492099ca691e3f65f4cf7f0c3aa742df03b396d7f6d81813aa95')
#export KBUILD_BUILD_HOST=arc4linux
@@ -100,11 +100,11 @@ prepare() {
# graysky gcc hotfixes
echo "Applying graysky gcc patch hotfixes"
- patch -p1 -i ../graysky_bdver2-hotfix.patch "$srcdir/kernel_gcc_patch-${_gccpatchver}/enable_additional_cpu_optimizations_for_gcc_v${_gccpatchger}+_kernel_${_gccpatchker}.patch"
+ patch -p1 -i ../graysky_bdver2-hotfix.patch "$srcdir/kernel_gcc_patch-${_gccpatchver}/enable_additional_cpu_optimizations_for_gcc_v${_gccpatchger}+_kernel_v${_gccpatchker}+.patch"
# graysky gcc patch
echo "Applying graysky cpu patch"
- patch -p1 -i ../kernel_gcc_patch-${_gccpatchver}/enable_additional_cpu_optimizations_for_gcc_v${_gccpatchger}+_kernel_${_gccpatchker}.patch
+ patch -p1 -i ../kernel_gcc_patch-${_gccpatchver}/enable_additional_cpu_optimizations_for_gcc_v${_gccpatchger}+_kernel_v${_gccpatchker}+.patch
# Ignore ath9k eeprom patch
@@ -191,7 +191,7 @@ _package() {
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
echo "Installing modules..."
- make INSTALL_MOD_PATH="$pkgdir/usr" modules_install
+ make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
# remove build and source links
rm "$modulesdir"/{source,build}
@@ -268,6 +268,8 @@ _package-headers() {
strip -v $STRIP_SHARED "$file" ;;
esac
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
+ echo "Stripping vmlinux..."
+ strip -v $STRIP_STATIC "$builddir/vmlinux"
echo "Adding symlink..."
mkdir -p "$pkgdir/usr/src"