device-google-manta: Add two generic kernels
Add mainline and stable options from the pmOS generic kernels to the google-manta board. Signed-off-by: Lukas Timmermann <lukas@timmermann.space> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9435>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
maintainer="Alexandre Marquet <tb@a-marquet.fr>"
|
||||
pkgname=device-google-manta
|
||||
pkgdesc="Google Nexus 10"
|
||||
pkgver=19
|
||||
pkgver=20
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
@@ -14,7 +14,6 @@ depends="
|
||||
firmware-google-manta
|
||||
linux-firmware-brcm
|
||||
linux-firmware-s5p-mfc
|
||||
linux-postmarketos-exynos5>=6.18.33
|
||||
postmarketos-base
|
||||
systemd-boot
|
||||
u-boot-manta
|
||||
@@ -22,7 +21,10 @@ depends="
|
||||
makedepends="devicepkg-dev"
|
||||
subpackages="
|
||||
$pkgname-openrc
|
||||
"
|
||||
$pkgname-kernel-stable:kernel_stable
|
||||
$pkgname-kernel-mainline:kernel_mainline
|
||||
$pkgname-kernel-exynos5:kernel_exynos5
|
||||
"
|
||||
source="
|
||||
deviceinfo
|
||||
modules-initfs
|
||||
@@ -59,6 +61,24 @@ package() {
|
||||
|
||||
}
|
||||
|
||||
kernel_stable() {
|
||||
pkgdesc="Stable kernel (recommended, best balance between stability and features)"
|
||||
depends="linux-postmarketos-stable"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
kernel_mainline() {
|
||||
pkgdesc="Upstream development kernel (regular breakage, latest features)"
|
||||
depends="linux-postmarketos-mainline"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
kernel_exynos5() {
|
||||
pkgdesc="Exynos5 kernel fork (best device support, mostly feature complete)"
|
||||
depends="linux-postmarketos-exynos5>=6.18.33"
|
||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
openrc() {
|
||||
default_openrc
|
||||
# replaces openrc for hwclock configuration
|
||||
|
||||
Reference in New Issue
Block a user