1################################################################################ 2# 3# imx-gpu-g2d 4# 5################################################################################ 6 7ifeq ($(BR2_aarch64),y) 8IMX_GPU_G2D_VERSION = 6.4.3.p2.0-aarch64 9else 10IMX_GPU_G2D_VERSION = 6.4.3.p2.0-arm 11endif 12IMX_GPU_G2D_SITE = $(FREESCALE_IMX_SITE) 13IMX_GPU_G2D_SOURCE = imx-gpu-g2d-$(IMX_GPU_G2D_VERSION).bin 14IMX_GPU_G2D_DEPENDENCIES = imx-gpu-viv 15IMX_GPU_G2D_INSTALL_STAGING = YES 16 17IMX_GPU_G2D_LICENSE = NXP Semiconductor Software License Agreement 18IMX_GPU_G2D_LICENSE_FILES = EULA COPYING 19IMX_GPU_G2D_REDISTRIBUTE = NO 20 21define IMX_GPU_G2D_EXTRACT_CMDS 22 $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_GPU_G2D_DL_DIR)/$(IMX_GPU_G2D_SOURCE)) 23endef 24 25define IMX_GPU_G2D_INSTALL_STAGING_CMDS 26 cp -a $(@D)/g2d/usr/* $(STAGING_DIR)/usr 27endef 28 29ifeq ($(BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES),y) 30define IMX_GPU_G2D_INSTALL_EXAMPLES 31 mkdir -p $(TARGET_DIR)/usr/share/examples/ 32 cp -a $(@D)/gpu-demos/opt/* $(TARGET_DIR)/usr/share/examples/ 33endef 34endif 35 36define IMX_GPU_G2D_INSTALL_TARGET_CMDS 37 $(IMX_GPU_G2D_INSTALL_EXAMPLES) 38 cp -a $(@D)/g2d/usr/lib $(TARGET_DIR)/usr 39endef 40 41$(eval $(generic-package)) 42