mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-10-22 23:02:20 +02:00

This allow to easy reuse of binary packages among similar SoCs. The usual use for this is to share SoC specific packages among different boards independently of the kernel version it is using, as far it is ABI compatible with the official version it will just work. Following recipes has been reworked to make use of the class: - imx-lib - imx-test - imx-vpu-hantro - imx-vpu - imx-alsa-plugins - gstreamer1.0-plugins-base - gstreamer1.0-plugins-imx - imx-gst1.0-plugin Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
36 lines
888 B
BlitzBasic
36 lines
888 B
BlitzBasic
# Copyright 2017-2018 NXP
|
|
|
|
DESCRIPTION = "i.MX Hantro VPU library"
|
|
LICENSE = "Proprietary"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=5ab1a30d0cd181e3408077727ea5a2db"
|
|
|
|
PROVIDES = "virtual/imxvpu"
|
|
|
|
SRC_URI = " \
|
|
${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \
|
|
file://0001-Get-i.MX-custom-headers-from-usr-include-imx.patch \
|
|
"
|
|
SRC_URI[md5sum] = "140796ddd6f1be47cffb7e5e2bfe0fb6"
|
|
SRC_URI[sha256sum] = "c092a5b0f8897bae54154f58e47b6d2de033da01ee231a8cd779a51bbe962606"
|
|
|
|
inherit fsl-eula-unpack use-imx-headers
|
|
|
|
PARALLEL_MAKE="-j 1"
|
|
|
|
PLATFORM_mx8mm = "IMX8MM"
|
|
PLATFORM_mx8mq = "IMX8MQ"
|
|
|
|
do_compile () {
|
|
oe_runmake CROSS_COMPILE="${HOST_PREFIX}" \
|
|
SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \
|
|
PLATFORM="${PLATFORM}" all
|
|
}
|
|
|
|
do_install () {
|
|
oe_runmake DEST_DIR="${D}" PLATFORM="${PLATFORM}" install
|
|
}
|
|
|
|
FILES_${PN} += "/unit_tests"
|
|
|
|
COMPATIBLE_MACHINE = "(mx8mq|mx8mm)"
|