2018-01-24 23:52:27 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-motorola-falcon
|
2018-01-24 23:52:27 +00:00
|
|
|
pkgdesc="Moto G (2013)"
|
2024-05-01 13:15:25 +00:00
|
|
|
pkgver=2
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgrel=0
|
2018-01-24 23:52:27 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2020-06-19 11:39:42 +00:00
|
|
|
arch="armv7"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2024-05-01 13:15:25 +00:00
|
|
|
depends="postmarketos-base mkbootimg"
|
2018-01-24 23:52:27 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2024-05-01 13:15:25 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
|
|
|
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
modules-initfs.mainline
|
|
|
|
"
|
2018-01-24 23:52:27 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2024-05-01 13:15:25 +00:00
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="Downstream kernel"
|
|
|
|
depends="linux-motorola-falcon msm-fb-refresher"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="Close to mainline kernel"
|
|
|
|
depends="linux-postmarketos-qcom-msm8226"
|
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
|
|
|
}
|
|
|
|
|
2020-06-07 10:32:47 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-motorola-falcon"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2024-05-01 13:15:25 +00:00
|
|
|
6898a4f4d08c12780ca80299f8b89067e5598504b4739fad47a6a71cbe4d7cf806cb89d538aceb8f4ed3e0a914c3006acce7b07716d776570fa63845e434f482 deviceinfo
|
|
|
|
35701f944fb4d1dd365fb2d3363620271ce748647c7462e9e8d6a2447df766f94cf1d07aa366c66c745fbb0fdaa6960e3f77176f9b6f4f9ca0dbc5d2f5989067 modules-initfs.mainline
|
2021-09-18 17:06:03 +00:00
|
|
|
"
|