alarm/firmware-imx to 8.14-1

This commit is contained in:
Alejandro Ojeda Gutiérrez 2022-01-20 20:25:04 +01:00 committed by Kevin Mihelich
parent 3be315e478
commit 6d85555c5d

View file

@ -4,14 +4,14 @@
buildarch=4
pkgname=firmware-imx
pkgver=5.4
pkgver=8.14
pkgrel=1
pkgdesc="Freescale proprietary firmware for i.MX6 SoC"
url="https://community.freescale.com/docs/DOC-95560"
arch=('armv7h')
license=('proprietay')
source=("http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${pkgver}.bin")
md5sums=('dae846ca2fc4504067f725f501491adf')
source=("https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${pkgver}.bin")
sha256sums=('bfe9c57857e8442e7eb26ba3e1020733b09a7c9b83952ad4822980546c58a7f4')
prepare() {
cd "${srcdir}"
@ -21,11 +21,14 @@ prepare() {
package() {
mkdir -p "${pkgdir}/usr/lib/firmware/vpu"
cp -r "${srcdir}/${pkgname}-${pkgver}/firmware/vpu/"* "${pkgdir}/usr/lib/firmware/vpu"
cp "${srcdir}/${pkgname}-${pkgver}/firmware/vpu/vpu_fw_imx6d.bin" "${pkgdir}/usr/lib/firmware/vpu"
cp "${srcdir}/${pkgname}-${pkgver}/firmware/vpu/vpu_fw_imx6q.bin" "${pkgdir}/usr/lib/firmware/vpu"
mkdir -p "${pkgdir}/usr/lib/firmware/imx/sdma"
cp "${srcdir}/${pkgname}-${pkgver}/firmware/sdma/sdma-imx6q.bin" "${pkgdir}/usr/lib/firmware/imx/sdma"
install -D -m0644 "${srcdir}/${pkgname}-${pkgver}/COPYING" "$pkgdir/opt/fsl/licenses/LICENSE.${pkgname}"
mkdir -p "${pkgdir}/etc/ld.so.conf.d"
echo "/opt/fsl/lib" > "${pkgdir}/etc/ld.so.conf.d/$pkgname.conf"
}
# vim:set ts=2 sw=2 et:
}