All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: meta-freescale@yoctoproject.org
Subject: [meta-fsl-arm][PATCH RFC 3/4] amd-gpu-x11-bin-mx51: only enable when x11 is in DISTRO_FEATURES
Date: Tue, 28 May 2013 02:02:51 +0200	[thread overview]
Message-ID: <1369699372-1398-3-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1369699372-1398-1-git-send-email-eric@eukrea.com>

this prevent warnings and parse errors

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 .../amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb             |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
index 2dee47a..e50d691 100644
--- a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
+++ b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb
@@ -6,9 +6,11 @@ LICENSE = "Proprietary"
 SECTION = "libs"
 PR = "r12"
 
+RCONFLICTS_${PN} = "amd-gpu-bin-mx51"
+
 # FIXME: Replace for correct AMD license
 LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802"
-DEPENDS = "virtual/libx11 libxrender"
+DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxrender', '', d)}"
 
 PROVIDES = "virtual/egl virtual/libgles1 virtual/libgles2"
 
@@ -84,5 +86,5 @@ FILES_lib2dz160-mx51-dbg = "${libdir}/.debug/lib2dz160${SOLIBS}"
 FILES_lib2dz430-mx51 = "${libdir}/lib2dz430${SOLIBS}"
 FILES_lib2dz430-mx51-dbg = "${libdir}/.debug/lib2dz430${SOLIBS}"
 
-COMPATIBLE_MACHINE = "(mx5)"
+COMPATIBLE_MACHINE = "{@base_contains('DISTRO_FEATURES', 'x11', (mx5), '', d)}"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-- 
1.7.10.4



  parent reply	other threads:[~2013-05-28  0:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-28  0:02 [meta-fsl-arm][PATCH RFC 1/4] qt5: add mx5 and mx6 support Eric Bénard
2013-05-28  0:02 ` [meta-fsl-arm][PATCH RFC 2/4] amd-gpu-bin-mx51: new recipe Eric Bénard
2013-05-28 13:11   ` Otavio Salvador
2013-05-28  0:02 ` Eric Bénard [this message]
2013-05-28 14:30   ` [meta-fsl-arm][PATCH RFC 3/4] amd-gpu-x11-bin-mx51: only enable when x11 is in DISTRO_FEATURES Otavio Salvador
2013-05-28 14:34     ` Eric Bénard
2013-05-28  0:02 ` [meta-fsl-arm][PATCH RFC 4/4] amd-gpu*: factorize the recipes Eric Bénard
2013-05-28 13:16   ` Otavio Salvador
2013-05-28  0:08 ` [meta-fsl-arm][PATCH RFC 1/4] qt5: add mx5 and mx6 support Eric Bénard
2013-05-28 13:29 ` Otavio Salvador
2013-05-28 13:38   ` Eric Bénard
2013-05-30 15:26   ` Chris Larson
2013-05-31  6:53     ` Erik Botö
2013-05-31 12:37     ` Otavio Salvador
2013-05-31 13:27       ` Chris Larson

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=1369699372-1398-3-git-send-email-eric@eukrea.com \
    --to=eric@eukrea.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.