summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.32.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.32.0.bb')
-rw-r--r--recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.32.0.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.32.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.32.0.bb
new file mode 100644
index 00000000..2a35f9ac
--- /dev/null
+++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.32.0.bb
@@ -0,0 +1,41 @@
1# Copyright (C) 2017-2020 NXP
2
3DESCRIPTION = "i.MX Hantro VPU library"
4LICENSE = "Proprietary"
5LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f"
6
7PROVIDES = "virtual/imxvpu"
8
9SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
10SRC_URI[sha256sum] = "f751ab7369d48e610ea3b6b0dc5a885c70a510861d6b46296ffc063fed370003"
11
12inherit fsl-eula-unpack use-imx-headers
13
14PARALLEL_MAKE="-j 1"
15
16PLATFORM:mx8mm-nxp-bsp = "IMX8MM"
17PLATFORM:mx8mq-nxp-bsp = "IMX8MQ"
18PLATFORM:mx8mp-nxp-bsp = "IMX8MP"
19
20#| ../../source/h264high/h264decapi.c:1803:22: error: assignment to 'const u8 *' {aka 'const unsigned char *'} from incompatible pointer type 'u32 *' {aka 'unsigned int *'} [-Wincompatible-pointer-types]
21#| 1803 | ref_data = ref.virtual_address;
22#| ../../source/h264high/h264decapi.c:2086:22: error: assignment to 'const u8 *' {aka 'const unsigned char *'} from incompatible pointer type 'u32 *' {aka 'unsigned int *'} [-Wincompatible-pointer-types]
23#| 2086 | ref_data = ref.virtual_address;
24
25CFLAGS += " -Wno-error=incompatible-pointer-types"
26EXTRA_OEMAKE = " \
27 CROSS_COMPILE="${HOST_PREFIX}" \
28 SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \
29 PLATFORM="${PLATFORM}" \
30"
31
32do_install () {
33 oe_runmake install DEST_DIR="${D}"
34}
35
36FILES:${PN} += "/unit_tests"
37
38RDEPENDS:${PN} += "imx-vpu-hantro-daemon"
39
40PACKAGE_ARCH = "${MACHINE_SOCARCH}"
41COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)"