diff options
Diffstat (limited to 'recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.18.0.bb')
-rw-r--r-- | recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.18.0.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.18.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.18.0.bb new file mode 100644 index 00000000..93206263 --- /dev/null +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.18.0.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | # Copyright (C) 2017-2020 NXP | ||
2 | |||
3 | DESCRIPTION = "i.MX Hantro VPU library" | ||
4 | LICENSE = "Proprietary" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9" | ||
6 | |||
7 | PROVIDES = "virtual/imxvpu" | ||
8 | |||
9 | SRC_URI = " \ | ||
10 | ${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "78034de7ed74363eb793d29894bba5e3" | ||
13 | SRC_URI[sha256sum] = "bebd82649d00d6dd8236b77b8677b1cc6ac46dc474200502df7797a75dc8f568" | ||
14 | |||
15 | inherit fsl-eula-unpack use-imx-headers | ||
16 | |||
17 | PARALLEL_MAKE="-j 1" | ||
18 | |||
19 | PLATFORM_mx8mm = "IMX8MM" | ||
20 | PLATFORM_mx8mq = "IMX8MQ" | ||
21 | PLATFORM_mx8mp = "IMX8MP" | ||
22 | |||
23 | do_compile () { | ||
24 | oe_runmake CROSS_COMPILE="${HOST_PREFIX}" \ | ||
25 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ | ||
26 | PLATFORM="${PLATFORM}" all | ||
27 | } | ||
28 | |||
29 | do_install () { | ||
30 | oe_runmake DEST_DIR="${D}" PLATFORM="${PLATFORM}" install | ||
31 | } | ||
32 | |||
33 | FILES_${PN} += "/unit_tests" | ||
34 | |||
35 | COMPATIBLE_MACHINE = "(mx8mq|mx8mm|mx8mp)" | ||