Patchwork [meta-fsl-demos,1/3] fsl-gpu-sdk: Modify recipe to support Sololite.

login
register
mail settings
Submitter Neena Busireddy
Date July 30, 2014, 9:27 p.m.
Message ID <1406755626-1566-2-git-send-email-neena.busireddy@freescale.com>
Download mbox | patch
Permalink /patch/76969/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Neena Busireddy - July 30, 2014, 9:27 p.m.
Remove dependency on gles1 and gles2 for sololite since
it is not 3D GPU hardware accelerated.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
---
 recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_1.1.bb |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_1.1.bb b/recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_1.1.bb
index 16fe803..88191fc 100644
--- a/recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_1.1.bb
+++ b/recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_1.1.bb
@@ -2,7 +2,9 @@  SUMMARY = "Freescale GPU SDK Samples"
 DESCRIPTION = "Set of sample applications for Freescale GPU"
 LICENSE = "Proprietary"
 LIC_FILES_CHKSUM = "file://COPYING;md5=44e96dac83a60d6c21a6055f7b31cf0c"
-DEPENDS = "virtual/libgles1 virtual/libgles2 ${WL_DEPENDS}"
+DEPENDS = "${WL_DEPENDS}"
+DEPENDS_append_mx6q = " virtual/libgles1 virtual/libgles2"
+DEPENDS_append_mx6dl = " virtual/libgles1 virtual/libgles2"
 WL_DEPENDS = "${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
 
 inherit fsl-eula-unpack
@@ -18,7 +20,9 @@  SRC_URI[sha256sum] = "89e3753b343b67e3a0d82fe3e96f0b388e73a650c2a00c767cf67efce7
 
 S = "${WORKDIR}/${PN}-${PV}"
 
-SUPPORTED_APIS = "GLES1.1 GLES2.0 ${@base_contains('DISTRO_FEATURES', 'x11', '', 'OpenVG', d)}"
+SUPPORTED_APIS = "${@base_contains('DISTRO_FEATURES', 'x11', '', 'OpenVG', d)}"
+SUPPORTED_APIS_append_mx6q = " GLES1.1 GLES2.0"
+SUPPORTED_APIS_append_mx6dl = " GLES1.1 GLES2.0"
 MAKEFILE_NO_X11 = "${@base_contains('DISTRO_FEATURES', 'wayland', 'Makefile.wl', 'Makefile.fbdev', d)}"
 MAKEFILE = "${@base_contains('DISTRO_FEATURES', 'x11', 'Makefile.x11', '${MAKEFILE_NO_X11}', d)}"