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
|
main/linux-postmarketos-qcom-msm8916: upgrade to 5.9-rc7 (MR 1603)
- Update to Linux 5.9-rc7
- Add "BAM DMUX" driver as network interface to the modem
for mobile data
- Major rewrite/cleanup of all MSM8916 device trees
- Lots of cleanup everywhere
- I hope I did not forget something :)
Devices:
- bq-paella: Add vibrator
- samsung-j5nlte: Add display
- samsung-a2015 (a3u/a5u): Fix USB-OTG detection
- "Initial" support for Xiaomi Redmi 2 (wingtech-wt88047)
- USB
- Storage (eMMC, SD card)
- Display, brightness control
- Touchscreen, buttons
- IMU (accelerometer+gyroscope)
- Notification LED
- Sound
- WiFi, Bluetooth
- Modem
- Initial support for Motorola Moto E 2015 (motorola-surnia)
- USB
- Storage (eMMC, SD card)
- Display, brightness control
- Touchscreen, buttons
- WiFi, Bluetooth
- Battery status
- Initial support for Samsung Galaxy Grand Prime
- USB
- Storage (eMMC, SD card)
- Initial support for Oppo Mirror 5s (oppo-a51f)
- USB
- Storage (eMMC, SD card)
- WiFi, Bluetooth
2020-09-28 07:46:40 +00:00
|
|
|
pkgver=5.9_rc7
|
|
|
|
pkgrel=0
|
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"
|
2020-02-20 10:31:39 +00:00
|
|
|
makedepends="bison findutils flex installkernel openssl-dev perl"
|
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
|
|
|
|
}
|
|
|
|
|
main/linux-postmarketos-qcom-msm8916: upgrade to 5.9-rc7 (MR 1603)
- Update to Linux 5.9-rc7
- Add "BAM DMUX" driver as network interface to the modem
for mobile data
- Major rewrite/cleanup of all MSM8916 device trees
- Lots of cleanup everywhere
- I hope I did not forget something :)
Devices:
- bq-paella: Add vibrator
- samsung-j5nlte: Add display
- samsung-a2015 (a3u/a5u): Fix USB-OTG detection
- "Initial" support for Xiaomi Redmi 2 (wingtech-wt88047)
- USB
- Storage (eMMC, SD card)
- Display, brightness control
- Touchscreen, buttons
- IMU (accelerometer+gyroscope)
- Notification LED
- Sound
- WiFi, Bluetooth
- Modem
- Initial support for Motorola Moto E 2015 (motorola-surnia)
- USB
- Storage (eMMC, SD card)
- Display, brightness control
- Touchscreen, buttons
- WiFi, Bluetooth
- Battery status
- Initial support for Samsung Galaxy Grand Prime
- USB
- Storage (eMMC, SD card)
- Initial support for Oppo Mirror 5s (oppo-a51f)
- USB
- Storage (eMMC, SD card)
- WiFi, Bluetooth
2020-09-28 07:46:40 +00:00
|
|
|
sha512sums="f07a6518e007bc9f816ef285b408424c85cfae3c80c26dd35d530da448fa364521a5b90a15f05a6476004c718380b1c37c7da14213ccfb9f487e9cddf1b6bccd linux-postmarketos-qcom-msm8916-v5.9-rc7-msm8916.tar.gz
|
|
|
|
316e25652a881b80a066bbd2d9e33b6cf7acc9c6dea7401b94ef9470b87d6a0b90a0a10634eca18722c812ed50e760ec4150a9f95cfa58893af528bd61360eef config-postmarketos-qcom-msm8916.aarch64
|
|
|
|
cc82953dfb16d217699b8e9702743cd2a94e8ee4118f4031b01ecfbca9368d64d743432a801ae649642d3654b61576c1b7ccf41837b284f4b0ec746c9bc508f5 config-postmarketos-qcom-msm8916.armv7"
|