# Copyright (C) 2019-2020 NXP DESCRIPTION = "i.MX VC8000E Encoder library" LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://COPYING;md5=cf3f9b8d09bc3926b1004ea71f7a248a" inherit fsl-eula-unpack SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" S = "${WORKDIR}/${BPN}-${PV}" SRC_URI[md5sum] = "37c61718602ff08041b81319cfd6a8d9" SRC_URI[sha256sum] = "8425796fc63d7107f2f57c51497281c4d54c883b2670817347fbe55f39dc2b8c" # SCR is the location and name of the Software Content Register file # relative to ${D}${D_SUBDIR}. SCR = "SCR.txt" do_install () { install -d ${D}${D_SUBDIR} cp -r ${S}/* ${D}${D_SUBDIR} if [ -d "${D}/usr/lib" ] && [ "${D}/usr/lib" != "${D}${libdir}" ]; then mv ${D}/usr/lib ${D}${libdir} fi rm ${D}${D_SUBDIR}/COPYING if [ ! -f ${D}${D_SUBDIR}/${SCR} ]; then bbfatal "Missing Software Content Register \"${D}${D_SUBDIR}/${SCR}\"" fi rm ${D}${D_SUBDIR}/${SCR} } FILES_${PN} = "/" COMPATIBLE_MACHINE = "(mx8mp)"