imx-gpu-viv: add apitrace dependency on libpng
authorGary Bisson <gary.bisson@boundarydevices.com>
Wed, 16 Mar 2016 14:56:45 +0000 (15:56 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 18 Mar 2016 22:15:50 +0000 (23:15 +0100)
This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/commit/ce73c200

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/freescale-imx/imx-gpu-viv/Config.in
package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk

index c386765396094982e4474891c748a8b6ab4e36dd..20759b1ca0b17fae8fed668aaa79410447d7f1aa 100644 (file)
@@ -62,6 +62,7 @@ config BR2_PACKAGE_PROVIDES_LIBOPENVG
 config BR2_PACKAGE_IMX_GPU_VIV_APITRACE
        bool "install apitrace tools"
        select BR2_PACKAGE_IMX_GPU_VIV_G2D
+       select BR2_PACKAGE_LIBPNG
        help
          Copy the apitrace tool to the target. Apitrace consists
          of a set of tools to trace, replay and/or inspect OpenGL,
index 84ac53f42f2d4f49870779ceb00a4c143f055547..b51a7af9b9dfa59446c85d5c678fc3ea9b652e3b 100644 (file)
@@ -80,6 +80,7 @@ define IMX_GPU_VIV_INSTALL_STAGING_CMDS
 endef
 
 ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_APITRACE),y)
+IMX_GPU_VIV_DEPENDENCIES += libpng
 ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11)
 define IMX_GPU_VIV_INSTALL_APITRACE
        cp -dpfr $(@D)/apitrace/x11/usr/bin/* $(TARGET_DIR)/usr/bin/