firmware-samsung-pxa1908: install all firmware files unconditionally

It has been found that the calibration files, while not mandatory, could
be useful with the mainline mwifiex driver as well. Install those on
mainline as well and leave the -downstream subpackage as a stub for
-downstream-openrc.

Also, switch from installing the firmware to /usr/lib instead of /lib to
suppress warnings.

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8311>
This commit is contained in:
Duje Mihanović 2026-04-09 19:20:54 +02:00 committed by The Friendly Meow (merge) Bot
parent e7132cc758
commit 333ba1f2ce
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
maintainer="Duje Mihanović <duje@dujemihanovic.xyz>"
pkgname=firmware-samsung-pxa1908
pkgver=2
pkgrel=6
pkgver=3
pkgrel=0
pkgdesc="Firmware for Samsung PXA1908 devices"
url="https://postmarketos.org"
arch="aarch64"
@ -13,8 +13,7 @@ source="
$pkgname-$_commit.tar.gz::https://github.com/xcover3/$_repo/archive/$_commit.tar.gz
sd8x-wlan.initd
"
_fw_file="sd8777_uapsta.bin"
_misc_files="WlanCalData_ext.conf txpwrlimit_cfg.bin bt_cal_data.conf"
_fw_files="sd8777_uapsta.bin WlanCalData_ext.conf txpwrlimit_cfg.bin bt_cal_data.conf"
builddir="$srcdir/$_repo-$_commit"
install="$pkgname-downstream-openrc.post-install"
subpackages="
@ -23,23 +22,18 @@ subpackages="
"
package() {
cd proprietary/etc/firmware/mrvl/
install -Dm644 "$_fw_file" \
-t "$pkgdir/lib/firmware/postmarketos/mrvl"
cd "$builddir"/proprietary/etc/firmware/mrvl/
for _i in $_fw_files; do
install -Dm644 "$_i" \
-t "$pkgdir/usr/lib/firmware/postmarketos/mrvl"
done
}
downstream() {
pkgdesc="Extra firmware files needed by downstream driver"
pkgdesc="Stub to pull service for enabling WLAN"
depends="$pkgname"
mkdir "$subpkgdir"
cd "$builddir"/proprietary/etc/firmware/mrvl/
for _i in $_misc_files; do
install -Dm644 "$_i" \
-t "$subpkgdir/lib/firmware/postmarketos/mrvl"
done
}
downstream_openrc() {