2ed6d379fc
Merge list: 5fd3e07fd10e Linux 5.16.2 a498f4a42b81 ALSA: hda/realtek: Re-order quirk entries for Lenovo 21ad9041b615 ALSA: hda/realtek: Add quirk for Legion Y9000X 2020 5053b09e0e90 ALSA: hda/tegra: Fix Tegra194 HDA reset failure ea3fcb111c87 ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk 73990b61c549 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows 2ac0c35159be ALSA: hda/realtek: Use ALC285_FIXUP_HP_GPIO_LED on another HP laptop 08968ce43f9d ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices 7faa2fb7bcd1 perf annotate: Avoid TUI crash when navigating in the annotation of recursive functions 1f21b193707e firmware: qemu_fw_cfg: fix kobject leak in probe error path fd8a2f12de64 firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries 261f47d05859 firmware: qemu_fw_cfg: fix sysfs information leak 105ee59fc79e rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled 230d1fa69ff8 media: uvcvideo: fix division by zero at stream start c923276ddd49 video: vga16fb: Only probe for EGA and VGA 16 color graphic cards 0b1a05b219fe 9p: fix enodata when reading growing file 4947e1735a87 9p: only copy valid iattrs in 9P2000.L setattr implementation cda396e5ce51 NFSD: Fix zero-length NFSv3 WRITEs f3f2900c93e2 remoteproc: qcom: pas: Add missing power-domain "mxc" for CDSP 07f5f305ed81 KVM: s390: Clarify SIGP orders versus STOP/RESTART 60af2066bc5d KVM: x86: don't print when fail to read/write pv eoi memory ec985a8dfbe9 KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest 51d24f081b90 KVM: x86: Register perf callbacks after calling vendor's hardware_setup() 68fe61050dc2 perf: Protect perf_guest_cbs with RCU 8b1530a3772a vfs: fs_context: fix up param length parsing in legacy_parse_param af8ad4718278 remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided 931b93ac1fce orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc() 16a1622c3424 drm/amd/display: explicitly set is_dsc_supported to false before use 3bddfeab42ab devtmpfs regression fix: reconfigure on each mount Change-Id: I3238c7c90d5723ca09df84a825dc4ad156dc92f9 Signed-off-by: Alexander Martinz <amartinz@shiftphones.com> [ci:skip-build] Already built well once on CI in MR
67 lines
1.9 KiB
Text
67 lines
1.9 KiB
Text
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
|
# Co-Maintainer: Joel Selvaraj <jo@jsfamily.in>
|
|
# Stable Linux kernel with patches for SDM845 devices
|
|
# Kernel config based on: arch/arm64/configs/defconfig and sdm845.config
|
|
|
|
_flavor="postmarketos-qcom-sdm845"
|
|
pkgname=linux-$_flavor
|
|
pkgver=5.16.2
|
|
pkgrel=1
|
|
pkgdesc="Mainline Kernel fork for SDM845 devices"
|
|
arch="aarch64"
|
|
_carch="arm64"
|
|
url="https://gitlab.com/sdm845-mainline/linux"
|
|
license="GPL-2.0-only"
|
|
options="!strip !check !tracedeps
|
|
pmb:cross-native
|
|
pmb:kconfigcheck-nftables
|
|
pmb:kconfigcheck-containers
|
|
pmb:kconfigcheck-zram
|
|
pmb:kconfigcheck-anbox
|
|
pmb:kconfigcheck-iwd"
|
|
makedepends="bison findutils flex installkernel openssl-dev perl"
|
|
|
|
_repo="linux"
|
|
_config="config-$_flavor.$arch"
|
|
_tag="sdm845-5.16.2"
|
|
|
|
# Source
|
|
source="
|
|
$_repo-$_tag.tar.gz::https://gitlab.com/sdm845-mainline/$_repo/-/archive/$_tag/$_repo-$_tag.tar.gz
|
|
$_config
|
|
"
|
|
builddir="$srcdir/$_repo-$_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"/usr/share/dtb
|
|
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="
|
|
ebf59f9572873b10f0321c7464e20be7715953db9be36512da38e95adaf1846de180565bdfbdf660a3e6ab4339e40bdd45f67505cf71adec46a439b0d3c8eb32 linux-sdm845-5.16.2.tar.gz
|
|
f855bb9157779f11dc2597a0fa1f6da6822f4d9c716480458ecbdf747ead3671df34d6273d79de78703942d97f774db1b18fe1ba5e5ed397397f844531f950af config-postmarketos-qcom-sdm845.aarch64
|
|
"
|