[OE-core] [PATCH 1/2] mesa: use distro_features_check to abort build without opengl feature
Ross Burton
ross.burton at intel.com
Mon Sep 9 10:19:11 UTC 2013
Stop mesa from building on distributions without the "opengl" DISTRO_FEATURE.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-graphics/mesa/mesa.inc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 71fcabd..79605fa 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -19,7 +19,9 @@ DEPENDS = "expat makedepend-native flex-native bison-native"
PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl"
-inherit autotools pkgconfig pythonnative gettext
+inherit autotools pkgconfig pythonnative gettext distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "opengl"
EXTRA_OECONF = "--enable-shared-glapi"
--
1.7.10.4
More information about the Openembedded-core
mailing list