package/freescale-imx/imx-gpu-g2d: install the specific library for i.MX8MM
For the i.MX8MM, this package contains a specific library that is not linked to OpenCL because there is no openCL support on i.MX8MM GPU. Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
c5c772ef80
commit
44355f7998
@@ -22,12 +22,14 @@ define IMX_GPU_G2D_EXTRACT_CMDS
|
||||
$(call NXP_EXTRACT_HELPER,$(IMX_GPU_G2D_DL_DIR)/$(IMX_GPU_G2D_SOURCE))
|
||||
endef
|
||||
|
||||
IMX_GPU_G2D_SUBDIR = $(if $(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM),mx8mm,)
|
||||
|
||||
define IMX_GPU_G2D_INSTALL_STAGING_CMDS
|
||||
cp -a $(@D)/g2d/usr/* $(STAGING_DIR)/usr
|
||||
cp -a $(@D)/g2d/usr/lib/$(IMX_GPU_G2D_SUBDIR)/libg2d* $(STAGING_DIR)/usr/lib/
|
||||
endef
|
||||
|
||||
define IMX_GPU_G2D_INSTALL_TARGET_CMDS
|
||||
cp -a $(@D)/g2d/usr/lib $(TARGET_DIR)/usr
|
||||
cp -a $(@D)/g2d/usr/lib/$(IMX_GPU_G2D_SUBDIR)/libg2d* $(TARGET_DIR)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
Reference in New Issue
Block a user