firmware-google-sargo: add sensor registry (MR 5329)
This commit is contained in:
parent
e30db78d84
commit
9501e9daa1
1 changed files with 10 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
# Maintainer: Richard Acayan <mailingradian@gmail.com>
|
||||
pkgname=firmware-google-sargo
|
||||
pkgver=220505.008
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Proprietary firmware blobs from the Google Pixel 3a factory image"
|
||||
url="https://github.com/TheMuppets/proprietary_vendor_google_sargo"
|
||||
arch="aarch64"
|
||||
license="proprietary"
|
||||
makedepends="pil-squasher"
|
||||
makedepends="pil-squasher sscregistrygen"
|
||||
_commit="c631f0f2aa24ea60cfb505d327cd4ae56ca27f16"
|
||||
_modemfw_commit="34bbe2c27f35537f13747c9eba67ece6ae141806"
|
||||
source="
|
||||
|
@ -19,6 +19,10 @@ options="!check !archcheck !strip !tracedeps pmb:cross-native"
|
|||
build() {
|
||||
pil-squasher a615_zap.mbn proprietary/vendor/firmware/a615_zap.mdt
|
||||
pil-squasher ipa_fws.mbn proprietary/vendor/firmware/ipa_fws.mdt
|
||||
|
||||
# This is an OEM device. The SoC ID for SDM670 is 336.
|
||||
mkdir sensors-registry
|
||||
sscregistrygen -p OEM -s 336 proprietary/vendor/etc/sensors/config sensors-registry/
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -48,6 +52,10 @@ package() {
|
|||
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/modem.mbn
|
||||
install -Dm644 "$_modemfw_dir"/modemfw/modemr.jsn \
|
||||
"$pkgdir"/lib/firmware/qcom/sdm670/sargo/modemr.jsn
|
||||
|
||||
mkdir -p "$pkgdir"/usr/share/qcom/sdm670/Google/sargo/sensors/
|
||||
cp -r "$builddir"/sensors-registry \
|
||||
"$pkgdir"/usr/share/qcom/sdm670/Google/sargo/sensors/registry
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
|
Loading…
Reference in a new issue