mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/firmware-imx to 8.24.r0.fbe0a4c
This commit is contained in:
parent
ced717ebdc
commit
903958fab3
1 changed files with 9 additions and 9 deletions
|
@ -4,28 +4,28 @@
|
||||||
|
|
||||||
buildarch=4
|
buildarch=4
|
||||||
pkgname=firmware-imx
|
pkgname=firmware-imx
|
||||||
pkgver=8.14
|
pkgver=8.24.r0.fbe0a4c
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="Freescale proprietary firmware for i.MX6 SoC"
|
pkgdesc="Freescale proprietary firmware for i.MX6 SoC"
|
||||||
url="https://community.freescale.com/docs/DOC-95560"
|
url="https://community.freescale.com/docs/DOC-95560"
|
||||||
arch=('armv7h')
|
arch=('armv7h')
|
||||||
license=('proprietay')
|
license=('proprietay')
|
||||||
source=("https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${pkgver}.bin")
|
source=("https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${pkgver//.r0./-}.bin")
|
||||||
sha256sums=('bfe9c57857e8442e7eb26ba3e1020733b09a7c9b83952ad4822980546c58a7f4')
|
sha256sums=('2e27962332197ebebbb30138f6dfb365361d48d7efa565df97c4f79285b1ca50')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}"
|
cd "${srcdir}"
|
||||||
#extract the firmware
|
#extract the firmware
|
||||||
sh ${pkgname}-${pkgver}.bin --force --auto-accept
|
sh ${pkgname}-${pkgver//.r0./-}.bin --force --auto-accept
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
mkdir -p "${pkgdir}/usr/lib/firmware/vpu"
|
mkdir -p "${pkgdir}/usr/lib/firmware/vpu"
|
||||||
cp "${srcdir}/${pkgname}-${pkgver}/firmware/vpu/vpu_fw_imx6d.bin" "${pkgdir}/usr/lib/firmware/vpu"
|
cp "${srcdir}/${pkgname}-${pkgver//.r0./-}/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"
|
cp "${srcdir}/${pkgname}-${pkgver//.r0./-}/firmware/vpu/vpu_fw_imx6q.bin" "${pkgdir}/usr/lib/firmware/vpu"
|
||||||
|
|
||||||
install -D -m0644 "${srcdir}/${pkgname}-${pkgver}/COPYING" "$pkgdir/opt/fsl/licenses/LICENSE.${pkgname}"
|
install -D -m0644 "${srcdir}/${pkgname}-${pkgver//.r0./-}/COPYING" "${pkgdir}/opt/fsl/licenses/LICENSE.${pkgname}"
|
||||||
|
|
||||||
mkdir -p "${pkgdir}/etc/ld.so.conf.d"
|
mkdir -p "${pkgdir}/etc/ld.so.conf.d"
|
||||||
echo "/opt/fsl/lib" > "${pkgdir}/etc/ld.so.conf.d/$pkgname.conf"
|
echo "/opt/fsl/lib" > "${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue