-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add: linux-firmware-trogdor * Update ultramarine/linux-firmware-trogdor/anda.hcl Co-authored-by: madomado <[email protected]> --------- Co-authored-by: madomado <[email protected]>
- Loading branch information
1 parent
23877c3
commit ce8efee
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
project pkg { | ||
arches = ["aarch64"] | ||
rpm { | ||
spec = "linux-firmware-trogdor.spec" | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
ultramarine/linux-firmware-trogdor/linux-firmware-trogdor.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
%global _commit bae7f2275cd7ccd73111662e25b124c082f296ea | ||
%global _shortcommit %(c=%{commit}; echo ${c:0:7}) | ||
|
||
%global _modemfwdir qcom/sc7180-trogdor | ||
%global _firmwarepath /usr/lib/firmware/%_modemfwdir | ||
|
||
Name: linux-firmware-trogdor | ||
Version: 20230713 | ||
Release: 1%{?dist} | ||
Summary: Modem firmware for trodgor ChromeOS devices | ||
BuildArch: noarch | ||
ExclusiveArch: aarch64 | ||
License: Proprietary | ||
URL: https://gitlab.com/jenneron/firmware-google-trogdor | ||
Source0: %url/-/archive/%_commit/firmware-google-trogdor-$_commit.tar.gz | ||
|
||
Requires: linux-firmware | ||
|
||
%description | ||
Modem firmware for trodgor ChromeOS devices. Also required for WiFi on non-LTE models. | ||
|
||
%prep | ||
%autosetup -n firmware-google-trogdor-%_commit | ||
|
||
%build | ||
|
||
%install | ||
install -Dm644 %_modemfwdir/modem/mba.mbn -t %{buildroot}/%_firmwarepath/modem | ||
install -Dm644 %_modemfwdir/modem/qdsp6sw.mbn -t %{buildroot}/%_firmwarepath/modem | ||
install -Dm644 %_modemfwdir/modem-nolte/mba.mbn -t %{buildroot}/%_firmwarepath/modem-nolte | ||
install -Dm644 %_modemfwdir/modem-nolte/qdsp6sw.mbn -t %{buildroot}/%_firmwarepath/modem-nolte | ||
|
||
|
||
%files | ||
%_firmwarepath/modem/* | ||
%_firmwarepath/modem-nolte/* | ||
|
||
%changelog | ||
* Sun Oct 27 2024 WeirdTreeThing <[email protected]> | ||
- Initial release |