2020-01-15 20:26:34 +00:00
|
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
2019-06-23 10:58:45 +00:00
|
|
|
# Kernel config based on: arch/arm64/configs/msm8916_defconfig
|
|
|
|
|
|
|
|
_flavor="postmarketos-qcom-msm8916"
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=linux-$_flavor
|
2021-01-25 11:04:29 +00:00
|
|
|
pkgver=5.11_rc5
|
2021-03-03 09:05:33 +00:00
|
|
|
pkgrel=1
|
2019-06-23 10:58:45 +00:00
|
|
|
pkgdesc="Mainline kernel fork for Qualcomm MSM8916 devices"
|
2019-12-07 14:00:13 +00:00
|
|
|
arch="aarch64 armv7"
|
2019-06-23 10:58:45 +00:00
|
|
|
url="https://github.com/msm8916-mainline/linux"
|
|
|
|
license="GPL-2.0-only"
|
2020-05-13 16:32:23 +00:00
|
|
|
options="!strip !check !tracedeps pmb:cross-native pmb:kconfigcheck-anbox"
|
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc3 (MR 1871)
- Update to Linux 5.11-rc3
- Upstreamed more patches
Devices:
- bq-paella:
- Rename to longcheer-l8910 for consistency with longcheer-l8150
- Add second panel driver for truly-otm1288a
- wileyfox-crackling: Add better battery status and charging
- xiaomi-wt88047: Add second panel driver for ebbg-otm1285a
- oppo-a51f:
- Display/Brightness
- Touchscreen
- Accelerometer
- Audio
- lg-m216: Initial support for LG K10 (K420n)
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons
- WiFi, Bluetooth
- Accelerometer, Magnetometer
- Audio
- Modem
- motorola-osprey: Initial support for Motorola Moto G 2015
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- WiFi, Bluetooth
- Audio (no headphone detection)
- Battery status
- lenovo-a6010: Initial support for Lenovo A6010
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- WiFi, Bluetooth
- Accelerometer, Gyroscope, Magnetometer
- Audio
- Modem
- asus-z00l: Initial support for Asus Zenfone 2 Laser (720p)
- USB
- Storage (eMMC)
- Display
- Touchscreen, Buttons
- WiFi, Bluetooth
- Audio
- asus-z010d: Initial support for Asus Zenfone Max (ZC550KL)
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- Notification LED
- WiFi, Bluetooth
- Accelerometer, Magnetometer
- Audio
- Modem
2021-01-12 09:49:58 +00:00
|
|
|
makedepends="bison findutils flex installkernel openssl-dev perl gmp-dev mpc1-dev mpfr-dev"
|
2019-06-23 10:58:45 +00:00
|
|
|
|
2019-12-07 14:00:13 +00:00
|
|
|
# Architecture
|
|
|
|
case "$CARCH" in
|
|
|
|
aarch64) _carch="arm64" ;;
|
|
|
|
arm*) _carch="arm" ;;
|
|
|
|
esac
|
|
|
|
|
2019-06-23 10:58:45 +00:00
|
|
|
# Source
|
2019-12-23 11:47:03 +00:00
|
|
|
_tag=v${pkgver//_/-}-msm8916
|
2019-06-23 10:58:45 +00:00
|
|
|
source="
|
|
|
|
$pkgname-$_tag.tar.gz::$url/archive/$_tag.tar.gz
|
2019-12-07 14:00:13 +00:00
|
|
|
config-$_flavor.aarch64
|
|
|
|
config-$_flavor.armv7
|
2019-06-23 10:58:45 +00:00
|
|
|
"
|
|
|
|
builddir="$srcdir/linux-${_tag#v}"
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
2019-12-07 14:00:13 +00:00
|
|
|
cp "$srcdir/config-$_flavor.$CARCH" .config
|
2019-06-23 10:58:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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_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
|
|
|
|
}
|
|
|
|
|
2021-01-25 11:04:29 +00:00
|
|
|
sha512sums="16524ab5b77a17b2092d5d4537246e19bde9659fde24e922e9a7fb4052b61e2d1e4bf2d3ae8b1af540fb983c702a95c4209d0e1a1046ae6848119d31b01df31f linux-postmarketos-qcom-msm8916-v5.11-rc5-msm8916.tar.gz
|
2021-03-03 09:05:33 +00:00
|
|
|
7e28eaf3a097a63e203970e3fbccfac45b061316a920d342028da89c085635d7b921a20bff44c3fbf403533a69d80ba382cd7bb2bfff8f296733d3e3ac6dc1b5 config-postmarketos-qcom-msm8916.aarch64
|
|
|
|
6c3c6505ebe38272a84ef73b7ddb090b94f1a5d572827177c4eb61db588db79bad3dc8aab59bb6405c6436bd615b1d5e2fd8642f62b2c81cf6d7b07dd6c20553 config-postmarketos-qcom-msm8916.armv7"
|