Patchwork [meta-fsl-arm,v2,11/15] amd-gpu-x11-bin-mx51: only enable when x11 is in DISTRO_FEATURES

login
register
mail settings
Submitter Otavio Salvador
Date June 7, 2013, 3:27 p.m.
Message ID <1370618857-27287-12-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/51319/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - June 7, 2013, 3:27 p.m.
From: Eric BENARD <eric@eukrea.com>

this prevent warnings and parse errors

Signed-off-by: Eric BĂ©nard <eric@eukrea.com>
---
 recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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..70568f9 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
@@ -84,5 +84,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)', 'Invalid!', d)}"
 PACKAGE_ARCH = "${MACHINE_ARCH}"