]> code.ossystems Code Review - meta-freescale.git/commitdiff
amd-gpu-x11-bin-mx51: only enable when x11 is in DISTRO_FEATURES
authorEric BENARD <eric@eukrea.com>
Mon, 3 Jun 2013 07:57:29 +0000 (07:57 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 17 Jun 2013 13:58:51 +0000 (10:58 -0300)
this prevent warnings and parse errors

Change-Id: Ia441cbdf89009a7aa7ae07ed7f97475183b0a99c
Signed-off-by: Eric Bénard <eric@eukrea.com>
meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb

index 2dee47aebb731a0151868c2f8df440a675cd4510..70568f9d3eb8f254e6ab102790beb285280e8ab8 100644 (file)
@@ -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}"