testing/linux-postmarketos-mediatek-mt6735: upgrade to 7.0.10

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8810>
This commit is contained in:
Cristian Cozzolino
2026-08-12 20:16:44 +00:00
parent a191ecb63d
commit f969598998
2 changed files with 1124 additions and 546 deletions
@@ -2,18 +2,35 @@
maintainer="Yassine Oudjana (Tooniis) <y.oudjana@protonmail.com>"
_flavor="postmarketos-mediatek-mt6735"
pkgname=linux-$_flavor
pkgver=6.1.9
pkgrel=3
pkgver=7.0.10
pkgrel=0
pkgdesc="Linux kernel with patches for devices with the MediaTek MT6735 SoC"
arch="aarch64"
_carch="arm64"
url="https://gitlab.com/mt6735-mainline/linux"
license="GPL-2.0-only"
options="!strip !check !tracedeps
options="
!check
!strip
!tracedeps
pmb:cross-native
pmb:kconfigcheck-zram
"
makedepends="bash bison findutils flex installkernel openssl-dev perl"
makedepends="
bison
clang
elfutils-dev
findutils
flex
linux-headers
lld
llvm
openssl-dev
pahole
perl
postmarketos-installkernel
python3
"
# Source
_tag=v${pkgver//_/-}-mt6735
@@ -30,26 +47,28 @@ prepare() {
build() {
unset LDFLAGS
# V=1: workaround for pma#1990
make ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION=$((pkgrel + 1 )) V=1
make ARCH="$_carch" LLVM=1 HOSTLDFLAGS="-fuse-ld=lld" \
KBUILD_BUILD_VERSION=$((pkgrel + 1 ))
}
package() {
mkdir -p "$pkgdir"/boot
install -Dm644 "$builddir/arch/$_carch/boot/Image.gz" \
"$pkgdir/boot/vmlinuz"
install -D "$builddir/include/config/kernel.release" \
"$pkgdir/usr/share/kernel/$_flavor/kernel.release"
make modules_install dtbs_install \
make dtbs_install modules_install \
ARCH="$_carch" \
INSTALL_MOD_PATH="$pkgdir" \
LLVM=1 \
INSTALL_MOD_PATH="$pkgdir"/usr \
INSTALL_MOD_STRIP=1 \
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs
install -Dm644 "$builddir"/arch/"$_carch"/boot/Image.gz \
"$pkgdir"/boot/vmlinuz
install -D "$builddir"/include/config/kernel.release \
"$pkgdir"/usr/share/kernel/"$_flavor"/kernel.release
}
sha512sums="
34bf27d0934cd6962a8e84cb79d59fe7b5cc7aed62eee0b2150d0dd77c4fa5a1ad803674bb61192feca99d1ad2e61a1c7d2579f03657fe978dd41d550c84a410 linux-v6.1.9-mt6735.tar.gz
9d8780972a083eb2ba94c5181d176e376c3674d064e3d7ef0dd8feb215c02777387f4fdae304d58eb55a8f57a31046ad03229203fc34c768c320d875e4e747e3 config-postmarketos-mediatek-mt6735.aarch64
fe5fd5b551882c8759b6e122e6a5b170b376818bc38e09341082f286076e951c9ac64215cd0c047e377adc6d956d8fb62023d8bf18aa9f2e5f245483704c0a38 linux-v7.0.10-mt6735.tar.gz
7eca199cbc4d5cd2cd1df0fc4523e8d19e88a746de257a0966f48c3c26a916af24d24e1f3567929a500a902724a344d35ea8643bfca4f4033f80743873586b4d config-postmarketos-mediatek-mt6735.aarch64
"