kumquat-buildroot/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk
Gary Bisson d7f553ba9f package/freescale-imx/imx-vpu-hantro: bump version to 1.15.0
To match NXP BSP 4.19.35-1.1.0 release:
https://source.codeaurora.org/external/imx/meta-fsl-bsp-release/tree/imx/meta-bsp/recipes-bsp/imx-vpu-hantro?h=warrior-4.19.35-1.1.0

Adds support for i.MX8MMini platform (Hantro H1 encoder).

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Tested-by: Laurent Gauthier <laurent.gauthier_1@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-30 14:10:27 +02:00

44 lines
1.3 KiB
Makefile

################################################################################
#
# imx-vpu-hantro
#
################################################################################
IMX_VPU_HANTRO_VERSION = 1.15.0
IMX_VPU_HANTRO_SITE = $(FREESCALE_IMX_SITE)
IMX_VPU_HANTRO_SOURCE = imx-vpu-hantro-$(IMX_VPU_HANTRO_VERSION).bin
IMX_VPU_HANTRO_DEPENDENCIES = linux
IMX_VPU_HANTRO_INSTALL_STAGING = YES
IMX_VPU_HANTRO_MAKE_ENV = \
$(TARGET_MAKE_ENV) \
$(TARGET_CONFIGURE_OPTS) \
CROSS_COMPILE="$(TARGET_CROSS)" \
SDKTARGETSYSROOT=$(STAGING_DIR) \
LINUX_KERNEL_ROOT=$(LINUX_DIR) \
PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM)
IMX_VPU_HANTRO_LICENSE = NXP Semiconductor Software License Agreement
IMX_VPU_HANTRO_LICENSE_FILES = EULA COPYING
IMX_VPU_HANTRO_REDISTRIBUTE = NO
define IMX_VPU_HANTRO_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_VPU_HANTRO_DL_DIR)/$(IMX_VPU_HANTRO_SOURCE))
endef
define IMX_VPU_HANTRO_BUILD_CMDS
$(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D)
endef
define IMX_VPU_HANTRO_INSTALL_STAGING_CMDS
$(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) \
DEST_DIR=$(STAGING_DIR) libdir=/usr/lib install
endef
define IMX_VPU_HANTRO_INSTALL_TARGET_CMDS
$(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) \
DEST_DIR=$(TARGET_DIR) libdir=/usr/lib install
endef
$(eval $(generic-package))