kumquat-buildroot/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
Sébastien Szymanski 4bffe42d00 package/freescale-imx/imx-gpu-g2d: bump to version 6.4.3.p1.2
- Same version as NXP release 5.10.9_1.0.0
- EULA/COPYING: update to LA_OPT_NXP_Software_License v19

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Reviewed-by: Stephane Viau <stephane.viau@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-04-24 18:11:25 +02:00

42 lines
1.1 KiB
Makefile

################################################################################
#
# imx-gpu-g2d
#
################################################################################
ifeq ($(BR2_aarch64),y)
IMX_GPU_G2D_VERSION = 6.4.3.p1.2-aarch64
else
IMX_GPU_G2D_VERSION = 6.4.3.p1.2-arm
endif
IMX_GPU_G2D_SITE = $(FREESCALE_IMX_SITE)
IMX_GPU_G2D_SOURCE = imx-gpu-g2d-$(IMX_GPU_G2D_VERSION).bin
IMX_GPU_G2D_DEPENDENCIES = imx-gpu-viv
IMX_GPU_G2D_INSTALL_STAGING = YES
IMX_GPU_G2D_LICENSE = NXP Semiconductor Software License Agreement
IMX_GPU_G2D_LICENSE_FILES = EULA COPYING
IMX_GPU_G2D_REDISTRIBUTE = NO
define IMX_GPU_G2D_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_GPU_G2D_DL_DIR)/$(IMX_GPU_G2D_SOURCE))
endef
define IMX_GPU_G2D_INSTALL_STAGING_CMDS
cp -a $(@D)/g2d/usr/* $(STAGING_DIR)/usr
endef
ifeq ($(BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES),y)
define IMX_GPU_G2D_INSTALL_EXAMPLES
mkdir -p $(TARGET_DIR)/usr/share/examples/
cp -a $(@D)/gpu-demos/opt/* $(TARGET_DIR)/usr/share/examples/
endef
endif
define IMX_GPU_G2D_INSTALL_TARGET_CMDS
$(IMX_GPU_G2D_INSTALL_EXAMPLES)
cp -a $(@D)/g2d/usr/lib $(TARGET_DIR)/usr
endef
$(eval $(generic-package))