device-samsung-klte: add kltechn variant (MR 4731)
The China LTE versions of Samsung Galaxy S5 (G9006[VW]/G9008[VW]/G9009W) have some little hardware difference with the G900F variant. Add kernel variants, with klte variant for G900F (which is currently supported) and kltechn variant for G9006/G9008/G9009W (newly added). Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
This commit is contained in:
parent
001c74bd00
commit
4d50d0f0e7
2 changed files with 20 additions and 6 deletions
|
@ -1,14 +1,13 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-samsung-klte
|
||||
pkgdesc="Samsung Galaxy S5 (G900F)"
|
||||
pkgver=6
|
||||
pkgrel=4
|
||||
pkgdesc="Samsung Galaxy S5 (G900F/G9006/G9008/G9009W)"
|
||||
pkgver=7
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-postmarketos-qcom-msm8974
|
||||
lk2nd-msm8974
|
||||
mkbootimg
|
||||
postmarketos-base
|
||||
|
@ -17,6 +16,8 @@ depends="
|
|||
makedepends="devicepkg-dev"
|
||||
subpackages="
|
||||
$pkgname-nonfree-firmware:nonfree_firmware
|
||||
$pkgname-kernel-klte:kernel_klte
|
||||
$pkgname-kernel-kltechn:kernel_kltechn
|
||||
"
|
||||
source="
|
||||
bt-module-deps.conf
|
||||
|
@ -32,6 +33,18 @@ package() {
|
|||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
kernel_klte() {
|
||||
pkgdesc="For G900F"
|
||||
depends="linux-postmarketos-qcom-msm8974"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
kernel_kltechn() {
|
||||
pkgdesc="For Chinese variants G9006/G9008/G9009W (kltechn)"
|
||||
depends="linux-postmarketos-qcom-msm8974"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="GPU, Wi-Fi, Bluetooth firmware"
|
||||
depends="
|
||||
|
@ -50,6 +63,6 @@ nonfree_firmware() {
|
|||
|
||||
sha512sums="
|
||||
6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf
|
||||
d872a8ef8b034a09506257cf31ed2009f271f78115a55a901989652bbad0a380f4fa369d37c47a9e84ab1628f0af9397375e875c2a32ab10f582050745b4e1ad deviceinfo
|
||||
df6561497b8a541c025ffd9794ed441f01ade3d217b6f5eceb602d9ba199af2ab4def2155f5e89d42f9c92e27eada6095da7cb2753a2ba10e66bab9109763733 deviceinfo
|
||||
0e123f1ce1255395addf08218c7ca7947c7dbd0a81f578ff1c96c53c51bb2c616cd50b390fa92f6fc67ed9c73957f8dd8390213df1520e2d97b9ff256ddbb954 modules-initfs
|
||||
"
|
||||
|
|
|
@ -6,7 +6,8 @@ deviceinfo_name="Samsung Galaxy S5"
|
|||
deviceinfo_manufacturer="Samsung"
|
||||
deviceinfo_codename="samsung-klte"
|
||||
deviceinfo_year="2014"
|
||||
deviceinfo_dtb="qcom-msm8974pro-samsung-klte"
|
||||
deviceinfo_dtb_klte="qcom-msm8974pro-samsung-klte"
|
||||
deviceinfo_dtb_kltechn="qcom-msm8974pro-samsung-kltechn"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_arch="armv7"
|
||||
|
||||
|
|
Loading…
Reference in a new issue