All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Hochstein <tom.hochstein@nxp.com>
To: <meta-freescale@yoctoproject.org>
Subject: [meta-fsl-demos][PATCH 1/2] fsl-gpu-sdk: Add support for i.MX 6SoloLite
Date: Thu, 31 Mar 2016 19:36:37 -0500	[thread overview]
Message-ID: <1459470998-8208-1-git-send-email-tom.hochstein@nxp.com> (raw)

From: Neena Busireddy <neenareddy.busireddy@nxp.com>

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_2.2.1.bb | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_2.2.1.bb b/recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_2.2.1.bb
index 459ad34..2903f74 100644
--- a/recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_2.2.1.bb
+++ b/recipes-graphics/fsl-gpu-sdk/fsl-gpu-sdk_2.2.1.bb
@@ -6,6 +6,7 @@ DEPENDS = "${X11_DEPENDS} ${WL_DEPENDS} devil gstreamer1.0 gstreamer1.0-plugins-
 DEPENDS_append_mx6q = " virtual/libgles2"
 DEPENDS_append_mx6dl = " virtual/libgles2"
 DEPENDS_append_mx6sx = " virtual/libgles2"
+DEPENDS_append_mx6sl = " virtual/libopenvg"
 
 X11_DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', 'xrandr', '', d)}"
 WL_DEPENDS = "${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
@@ -29,18 +30,29 @@ BACKEND = "${@base_contains('DISTRO_FEATURES', 'x11', 'X11', \
 HAS_VPU = "1"
 HAS_VPU_mx6sx = "0"
 
+IS_MX6SL = "0"
+IS_MX6SL_mx6sl = "1"
+
 do_compile () {
     export FSL_GRAPHICS_SDK=${S}
     export FSL_PLATFORM_NAME=Yocto
     export ROOTFS=${STAGING_DIR_HOST}
-    ./build.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND}
+    if [ "${IS_MX6SL}" = "0" ]; then
+        ./build.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND}
+    else
+        ./build_OpenVG.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND}
+    fi
 }
 
 do_install () {
     export FSL_GRAPHICS_SDK=${S}
     export FSL_PLATFORM_NAME=Yocto
     install -d "${D}/opt/${PN}"
-    ./build.sh -f  GNUmakefile_Yocto EGLBackend=${BACKEND} install 
+    if [ "${IS_MX6SL}" = "0" ]; then
+        ./build.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND} install
+    else
+        ./build_OpenVG.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND} install
+    fi
     cp -r bin/* "${D}/opt/${PN}"
     if [ "${HAS_VPU}" = "0" ]; then
         rm -rf ${D}/opt/${PN}/GLES2/DirectMultiSamplingVideoYUV
-- 
1.9.1



             reply	other threads:[~2016-04-01  0:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01  0:36 Tom Hochstein [this message]
2016-04-01  0:36 ` [meta-fsl-demos][PATCH 2/2] fsl-gpu-sdk: Upgrade to version 2.2.2 Tom Hochstein
2016-04-01 19:03 ` [meta-fsl-demos][PATCH 1/2] fsl-gpu-sdk: Add support for i.MX 6SoloLite Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459470998-8208-1-git-send-email-tom.hochstein@nxp.com \
    --to=tom.hochstein@nxp.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.