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