pmaports/device/main/firmware-brcm43752/APKBUILD
Clayton Craft 263d00790e
firmware-brcm43752: install symlinks to fix driver loading (MR 5224)
At some point the driver started using symlinks w/ machine IDs for
finding/loading fw, and for some reason I thought it was a good idea to
not install those symlinks.

Fixes this failure when loading the brcmfmac driver:
brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43752-sdio.purism,librem5r4.bin failed with error -2

[ci:skip-build]: already built successfully in CI
2024-06-10 21:27:51 +02:00

21 lines
921 B
Text

# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=firmware-brcm43752
pkgver=3_git20230613
pkgrel=1
_commit="84b8b00f57a9495c05190477c5895cd66f69b873"
pkgdesc="Firmware for the Broadcom brcm43752 Wifi/BT adapter"
url="https://source.puri.sm/Librem5/firmware-brcm43752-nonfree"
arch="aarch64"
license="proprietary"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
source="https://source.puri.sm/Librem5/firmware-brcm43752-nonfree/-/archive/$_commit/firmware-brcm43752-nonfree-$_commit.tar.gz"
builddir="$srcdir/firmware-brcm43752-nonfree-$_commit"
package() {
mkdir -p "$pkgdir/lib/firmware/postmarketos"
cp -r "$builddir/firmware/brcm" "$pkgdir/lib/firmware/postmarketos"
}
sha512sums="
f205dc47caf072c72965d3ad1b10a726c661105970bcfc191655f17706b693bd75e06325342315109ebd27e4d4a6c8934b74e2737edbf5756d1f68ec1286b318 firmware-brcm43752-nonfree-84b8b00f57a9495c05190477c5895cd66f69b873.tar.gz
"