diff options
Diffstat (limited to 'recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb')
| -rw-r--r-- | recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb new file mode 100644 index 000000000..645d25544 --- /dev/null +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.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=c0fb372b5d7f12181de23ef480f225f3" | ||
| 6 | |||
| 7 | PROVIDES = "virtual/imxvpu" | ||
| 8 | |||
| 9 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | ||
| 10 | IMX_SRCREV_ABBREV = "194a305" | ||
| 11 | |||
| 12 | SRC_URI[sha256sum] = "0ef1fb5c6653c08f2d2812c72dedf3e8beb091dd5b3d70d6e26f41bac4ebffa7" | ||
| 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)" | ||
