recipes-bsp: add recipe imx-vpu-hantro to support ConnectCore 8M Mini
ConnectCore 8M Mini has support to VPU but the library used is different than the used by the i.MX6 processors. This recipe manages the required libraries to operate with this kind of VPU. https://jira.digi.com/browse/DEL-7397 Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
98a4733cd0
commit
c939115a2f
|
|
@ -0,0 +1,31 @@
|
||||||
|
# Copyright 2017-2018 NXP
|
||||||
|
|
||||||
|
DESCRIPTION = "i.MX HANTRO VPU library"
|
||||||
|
LICENSE = "Proprietary"
|
||||||
|
|
||||||
|
inherit fsl-eula-unpack use-imx-headers
|
||||||
|
|
||||||
|
PARALLEL_MAKE="-j 1"
|
||||||
|
|
||||||
|
PROVIDES = "virtual/imxvpu"
|
||||||
|
RPROVIDES_${PN} = "virtual/imxvpu"
|
||||||
|
|
||||||
|
SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
|
||||||
|
|
||||||
|
PLATFORM_mx8mm = "IMX8MM"
|
||||||
|
PLATFORM_mx8mq = "IMX8MQ"
|
||||||
|
PLATFORM_mx8mp = "IMX8MP"
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
|
COMPATIBLE_MACHINE = "(mx8mq|mx8mm|mx8mp)"
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Copyright 2017-2020 NXP
|
||||||
|
|
||||||
|
require imx-vpu-hantro.inc
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=cf3f9b8d09bc3926b1004ea71f7a248a"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "682b3a73bf5aa22a37d56a433d11fc91"
|
||||||
|
SRC_URI[sha256sum] = "e6cdd5b4c628604906466fc9620e2b048cf1b2c863f9ee49616dd5212b9261b0"
|
||||||
Loading…
Reference in New Issue