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