diff options
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.bb | 41 |
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 | |||
3 | DESCRIPTION = "i.MX Hantro VPU library" | ||
4 | LICENSE = "Proprietary" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | ||
6 | |||
7 | PROVIDES = "virtual/imxvpu" | ||
8 | |||
9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | ||
10 | SRC_URI[sha256sum] = "f751ab7369d48e610ea3b6b0dc5a885c70a510861d6b46296ffc063fed370003" | ||
11 | |||
12 | inherit fsl-eula-unpack use-imx-headers | ||
13 | |||
14 | PARALLEL_MAKE="-j 1" | ||
15 | |||
16 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | ||
17 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | ||
18 | PLATFORM: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 | |||
25 | CFLAGS += " -Wno-error=incompatible-pointer-types" | ||
26 | EXTRA_OEMAKE = " \ | ||
27 | CROSS_COMPILE="${HOST_PREFIX}" \ | ||
28 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ | ||
29 | PLATFORM="${PLATFORM}" \ | ||
30 | " | ||
31 | |||
32 | do_install () { | ||
33 | oe_runmake install DEST_DIR="${D}" | ||
34 | } | ||
35 | |||
36 | FILES:${PN} += "/unit_tests" | ||
37 | |||
38 | RDEPENDS:${PN} += "imx-vpu-hantro-daemon" | ||
39 | |||
40 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
41 | COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" | ||