Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
bd9f6013
Unverified
Commit
bd9f6013
authored
5 years ago
by
Ruby Iris Juric
Committed by
Alexey Minnekhanov
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
motorola-harpia: add option to enable modem (
!958
)
parent
01403939
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#197763
passed
5 years ago
Stage: first
Stage: second
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
device/device-motorola-harpia/APKBUILD
+29
-5
29 additions, 5 deletions
device/device-motorola-harpia/APKBUILD
device/device-motorola-harpia/deviceinfo
+2
-1
2 additions, 1 deletion
device/device-motorola-harpia/deviceinfo
with
31 additions
and
6 deletions
device/device-motorola-harpia/APKBUILD
+
29
−
5
View file @
bd9f6013
...
...
@@ -2,17 +2,22 @@
# Maintainer: Ruby Iris Juric <ruby@srxl.me>
pkgname
=
"device-motorola-harpia"
pkgdesc
=
"Motorola Moto G4 Play"
pkgver
=
1
pkgver
=
2
pkgrel
=
0
url
=
"https://postmarketos.org"
license
=
"MIT"
arch
=
"aarch64"
options
=
"!check !archcheck"
depends
=
"postmarketos-base mkbootimg
linux-postmarketos-qcom-msm8916
soc-qcom-msm8916"
depends
=
"postmarketos-base mkbootimg soc-qcom-msm8916"
makedepends
=
"devicepkg-dev"
source
=
"deviceinfo"
subpackages
=
"
$pkgname
-nonfree-firmware:nonfree_firmware"
subpackages
=
"
$pkgname
-kernel-mainline:kernel_mainline
$pkgname
-kernel-mainline-modem:kernel_mainline_modem
$pkgname
-nonfree-firmware:nonfree_firmware
$pkgname
-nonfree-firmware-modem:nonfree_firmware_modem
"
build
()
{
devicepkg_build
$startdir
$pkgname
...
...
@@ -22,10 +27,29 @@ package() {
devicepkg_package
$startdir
$pkgname
}
kernel_mainline
()
{
pkgdesc
=
"Mainline kernel (no modem, audio routed directly)"
depends
=
"linux-postmarketos-qcom-msm8916"
devicepkg_subpackage_kernel
$startdir
$pkgname
$subpkgname
}
kernel_mainline_modem
()
{
pkgdesc
=
"Mainline kernel (non-free modem, audio routed through ADSP)"
depends
=
"linux-postmarketos-qcom-msm8916 soc-qcom-msm8916-modem"
devicepkg_subpackage_kernel
$startdir
$pkgname
$subpkgname
}
nonfree_firmware
()
{
pkgdesc
=
"GPU/Wi-Fi/Bluetooth/Video firmware"
pkgdesc
=
"GPU/Wi-Fi/Bluetooth/Video
(/Modem)
firmware"
depends
=
"linux-firmware-qcom firmware-motorola-harpia-wcnss firmware-motorola-harpia-venus"
mkdir
"
$subpkgdir
"
}
sha512sums
=
"42fff2887c7670aecfd1d2e1f64d11401c13115d33e86f167201b9c765d03d3fbd6a5fd6392deeaceffc1580315eac115126001bfee0609424241f10b082ea8f deviceinfo"
nonfree_firmware_modem
()
{
pkgdesc
=
"Modem firmware"
depends
=
"firmware-motorola-harpia-modem"
install_if
=
"
$pkgname
-nonfree-firmware
$pkgname
-kernel-mainline-modem"
mkdir
"
$subpkgdir
"
}
sha512sums
=
"2481b4451ba3ebed9649bd3094c5ab6a2daaf1b2b8d52708e0ce40a4b0e7f03924ca1e560e6b7fa11411f87e207499cf034c391698c1b1be1401ffec5169100e deviceinfo"
This diff is collapsed.
Click to expand it.
device/device-motorola-harpia/deviceinfo
+
2
−
1
View file @
bd9f6013
...
...
@@ -6,7 +6,8 @@ deviceinfo_name="Motorola Moto G4 Play"
deviceinfo_manufacturer="Motorola"
deviceinfo_codename="motorola-harpia"
deviceinfo_date=""
deviceinfo_dtb="qcom/msm8916-motorola-harpia"
deviceinfo_dtb_mainline="qcom/msm8916-motorola-harpia"
deviceinfo_dtb_mainline_modem="qcom/msm8916-motorola-harpia-modem"
deviceinfo_append_dtb="true"
deviceinfo_modules_initfs=""
deviceinfo_arch="aarch64"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment