2be78249e4
- Update to Linux 5.17 - Upstreamed many more patches - Probably many other things I forgot :) Device changes: - alcatel-idol347: - Headphones - longcheer-l8910 (bq-paella): - Touch keys: Allow changing function from userspace - samsung-gprime: - Split into 3 variants: gprimeltecan, fortuna3g, fortunaltezt - Buttons, WiFi/BT, Vibrator - Display - Touchscreen - Sound/Modem - Sensors (Accelerometer/Magnetometer, depending on variant) - NFC (some variants only) - Battery - samsung-j5x (J5 2016): - WiFi/BT - Sensors (Accelerometer) - Sound/Modem (jack detection is somewhat broken) New devices: - ark-peach (ARK Benefit A3) - eMMC, SD card, USB, Buttons, WiFi/BT - huawei-y635: - eMMC, SD card, USB, Buttons, WiFi/BT - Display - Touchscreen - Sensors (Accelerometer, Proximity) - Sound - Battery/Charging - samsung-a5-zt: new device variant of samsung-a5 - different setup for accelerometer and touch key - samsung-e7: - eMMC, SD card, USB, Buttons, WiFi/BT - Display (no brightness control yet) - Touchscreen - Sensors (Accelerometer) - Sound/Modem - NFC - samsung-j3ltetw: - eMMC, SD card, USB, Buttons, WiFi/BT - Display (no brightness control yet) - Touchscreen - Sensors (Accelerometer) - Sound/Modem - samsung-on7: - eMMC, SD card, USB, Buttons, WiFi/BT Removed devices: - oppo-a51f: Unfortunately, it has been unmaintained for a long time and it was the last remaining device in a non-upstreamable state (authorship unclear and missing Signed-off-by).
78 lines
2.1 KiB
Text
78 lines
2.1 KiB
Text
# Maintainer: Minecrell <minecrell@minecrell.net>
|
|
# Co-Maintainer: Nikita Travkin <nikita@trvn.ru>
|
|
# Kernel config based on: arch/arm64/configs/msm8916_defconfig
|
|
|
|
_flavor="postmarketos-qcom-msm8916"
|
|
pkgname=linux-$_flavor
|
|
pkgver=5.17
|
|
pkgrel=0
|
|
pkgdesc="Mainline kernel fork for Qualcomm MSM8916 devices"
|
|
arch="aarch64 armv7"
|
|
url="https://github.com/msm8916-mainline/linux"
|
|
license="GPL-2.0-only"
|
|
options="!strip !check !tracedeps
|
|
pmb:cross-native
|
|
pmb:kconfigcheck-anbox
|
|
pmb:kconfigcheck-apparmor
|
|
pmb:kconfigcheck-containers
|
|
pmb:kconfigcheck-iwd
|
|
pmb:kconfigcheck-nftables
|
|
pmb:kconfigcheck-zram
|
|
"
|
|
makedepends="
|
|
bison
|
|
findutils
|
|
flex
|
|
gmp-dev
|
|
mpc1-dev
|
|
mpfr-dev
|
|
openssl-dev
|
|
perl
|
|
postmarketos-installkernel
|
|
"
|
|
|
|
# Architecture
|
|
case "$CARCH" in
|
|
aarch64) _carch="arm64" ;;
|
|
arm*) _carch="arm" ;;
|
|
esac
|
|
|
|
# Source
|
|
_tag=v${pkgver//_/-}-msm8916
|
|
source="
|
|
$pkgname-$_tag.tar.gz::$url/archive/$_tag.tar.gz
|
|
config-$_flavor.aarch64
|
|
config-$_flavor.armv7
|
|
"
|
|
builddir="$srcdir/linux-${_tag#v}"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
cp "$srcdir/config-$_flavor.$CARCH" .config
|
|
}
|
|
|
|
build() {
|
|
unset LDFLAGS
|
|
make ARCH="$_carch" CC="${CC:-gcc}" \
|
|
KBUILD_BUILD_VERSION=$((pkgrel + 1 ))
|
|
}
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/boot
|
|
make zinstall 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="
|
|
b702f5fe31e017c73e1841b18b36cf56a9dde92c71cee921f37a84024ef290199aba1b02db497b3a4b54f01b6a1636ad27de649454abca7fa1c63ff2f86b0919 linux-postmarketos-qcom-msm8916-v5.17-msm8916.tar.gz
|
|
7d2dfefd615eee49bf83065d5c8ac0e260fd1ee30fcb264a8cf794490444a894005e9517a9674df7635ba65b182b1b8eab1c61a639ef3dbbb9e853a1b9437512 config-postmarketos-qcom-msm8916.aarch64
|
|
384b41020f93fde33fb46251491282147bcde51c14e953653f6fd058131dc5f95c3c2246511941e49aae05ef241b5fffac4dbb455bf534af1caed5d31710108b config-postmarketos-qcom-msm8916.armv7
|
|
"
|