The Linux stable team merged v6.12 into linux-rolling-stable as of Thursday, so here's a new release. This release cycle was very quiet with small fixes. The ttynull driver was enabled in the configuration to fix a bug where userspace would start with no stdio open. A patch that made the fuel gauge driver compatible with v6.10 was dropped. Patches from MSM8916 and MSM8953 were re-picked, to include the change from strlcpy to strscpy and to remove duplicate q6voice entries in a Makefile. Some flashlight and charging patches were staged. The thermal nodes were sorted by the thermal sensor to match other platforms. Bluetooth, camera, call audio, display, USB, I2C, eMMC, modem, video acceleration, WiFi, haptics, NFC, sensors, and touchscreen should work and be slightly broken like before.
72 lines
1.8 KiB
Plaintext
72 lines
1.8 KiB
Plaintext
# Maintainer: Richard Acayan <mailingradian@gmail.com>
|
|
# Stable Linux kernel with patches for SDM670 devices
|
|
# Kernel config based on: arch/arm64/configs/{defconfig,sdm{670,845}.config}
|
|
|
|
_flavor="postmarketos-qcom-sdm670"
|
|
pkgname=linux-$_flavor
|
|
pkgver=6.12.3
|
|
pkgrel=0
|
|
pkgdesc="Mainline Kernel fork for SDM670 devices"
|
|
arch="aarch64"
|
|
_carch="arm64"
|
|
url="https://gitlab.com/sdm670-mainline/linux"
|
|
license="GPL-2.0-only"
|
|
options="!strip !check !tracedeps
|
|
pmb:cross-native
|
|
pmb:kconfigcheck-community"
|
|
makedepends="
|
|
bash
|
|
bison
|
|
findutils
|
|
flex
|
|
installkernel
|
|
openssl-dev
|
|
perl
|
|
python3
|
|
zstd
|
|
"
|
|
|
|
_config="config-$_flavor.$arch"
|
|
_tag="sdm670-v$pkgver"
|
|
|
|
# Source
|
|
source="
|
|
https://gitlab.com/sdm670-mainline/linux/-/archive/$_tag/linux-$_tag.tar.gz
|
|
$_config
|
|
"
|
|
builddir="$srcdir/linux-$_tag"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
cp "$srcdir/config-$_flavor.$arch" .config
|
|
}
|
|
|
|
build() {
|
|
unset LDFLAGS
|
|
make ARCH="$_carch" CC="${CC:-gcc}" \
|
|
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-$_flavor"
|
|
}
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/boot
|
|
|
|
install -Dm644 "$builddir/arch/$_carch/boot/Image.gz" \
|
|
"$pkgdir/boot/vmlinuz"
|
|
|
|
make modules_install dtbs_install \
|
|
ARCH="$_carch" \
|
|
INSTALL_PATH="$pkgdir"/boot/ \
|
|
INSTALL_MOD_PATH="$pkgdir" \
|
|
INSTALL_MOD_STRIP=1 \
|
|
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs
|
|
rm -f "$pkgdir"/lib/modules/*/build "$pkgdir"/lib/modules/*/source
|
|
|
|
install -D "$builddir"/include/config/kernel.release \
|
|
"$pkgdir"/usr/share/kernel/$_flavor/kernel.release
|
|
}
|
|
|
|
sha512sums="
|
|
6f9942e6b30d5bf745a53ed666b3b0e76448a42ffa1962fa31a75dd1a7198ead12f80958ac405877b8e8ef6046486a629fe7d362a1760c3dc496993344b4e1bd linux-sdm670-v6.12.3.tar.gz
|
|
9b568027d03e8d4ce6885786f862a31641b16b72876d14364ad0c8b29331231b3ce6efbbe2cd1a4a077fd8a47cb050380add65eeaafc31c7e8ebb6d5f6632b8e config-postmarketos-qcom-sdm670.aarch64
|
|
"
|