alarm/imx-vpu to 5.4.39.3

Closes #2039
This commit is contained in:
Alejandro Ojeda Gutiérrez 2024-06-30 13:33:07 +02:00 committed by graysky
parent 6d9aa055e4
commit 41e5879b4c

View file

@ -4,24 +4,27 @@
buildarch=4 buildarch=4
pkgname=imx-vpu pkgname=imx-vpu
pkgver=5.4.33 pkgver=5.4.39.3
pkgrel=1 pkgrel=1
pkgdesc="Freescale proprietary extensions for i.MX6 SoC" pkgdesc="Freescale proprietary extensions 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=('proprietary') license=('proprietary')
source=("http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${pkgver}.bin" '99-mxc-vpu.rules') source=("http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${pkgver}.bin"
md5sums=('547074f0bb12fbf123f7998f2640c279' '99-mxc-vpu.rules')
md5sums=('6d6302189a6704874375afe62a65def0'
'b749d82b96a323d8f914c63c65de9f92') 'b749d82b96a323d8f914c63c65de9f92')
prepare() { prepare() {
cd "${srcdir}" cd "${srcdir}"
#extract the sources # extract the sources
sh ${pkgname}-${pkgver}.bin --force --auto-accept sh ${pkgname}-${pkgver}.bin --force --auto-accept
} }
build() { build() {
cd "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
# disable -mno-omit-leaf-frame-pointer
export CFLAGS="${CFLAGS//-mno-omit-leaf-frame-pointer}"
export PLATFORM="IMX6Q" export PLATFORM="IMX6Q"
make all make all
} }
@ -41,5 +44,3 @@ package() {
install -D -m0644 "${srcdir}/${pkgname}-${pkgver}/COPYING" "$pkgdir/opt/fsl/licenses/LICENSE.${pkgname}" install -D -m0644 "${srcdir}/${pkgname}-${pkgver}/COPYING" "$pkgdir/opt/fsl/licenses/LICENSE.${pkgname}"
install -D -m0644 "${srcdir}/99-mxc-vpu.rules" "${pkgdir}/usr/lib/udev/rules.d/99-mxc-vpu.rules" install -D -m0644 "${srcdir}/99-mxc-vpu.rules" "${pkgdir}/usr/lib/udev/rules.d/99-mxc-vpu.rules"
} }
# vim:set ts=2 sw=2 et: