ae3832e43e
[ci:skip-build] already built successfully in CI
49 lines
1.4 KiB
Text
49 lines
1.4 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-coreprimevelte
|
|
pkgdesc="Samsung Galaxy Core Prime LTE"
|
|
pkgver=0.2
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base mkbootimg u-boot-tools pxa-mkbootimg"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
"
|
|
source="deviceinfo 90-coreprimevelte.conf"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
kernel_downstream() {
|
|
pkgdesc="Downstream kernel"
|
|
depends="linux-samsung-coreprimevelte"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
install -Dm444 $startdir/90-coreprimevelte.conf $pkgdir/etc/sysctl.d/90-coreprimevelte.conf
|
|
}
|
|
|
|
kernel_mainline() {
|
|
pkgdesc="Mainline kernel (for development only)"
|
|
depends="linux-samsung-coreprimevelte-mainline"
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wi-Fi firmware"
|
|
depends="firmware-samsung-pxa1908"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
e8e9e29780feb17cd869b4182b09d507bf939d9eb9076e02b1bcf6dda7a9ecc0c5bee4c6c8846cb9b3d7d354697941cc7efb04c79ba2ffb1d3116f4ddc808397 deviceinfo
|
|
4854cc57b86e1199dbc165110514e672dabf45044fe9f7ebbde5b2b24768fb5497273b5f38612cf2dfeffc9bf0648c725114b4fa01165bf7fb02f7d741ee5806 90-coreprimevelte.conf
|
|
"
|