From: Ross Burton Date: Mon, 9 Sep 2013 10:19:11 +0000 (+0000) Subject: mesa: use distro_features_check to abort build without opengl feature X-Git-Tag: 2015-4~5238 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=05bacb69a3b0f3bbd9dd608855456c32b4007fde;p=openembedded-core.git mesa: use distro_features_check to abort build without opengl feature Stop mesa from building on distributions without the "opengl" DISTRO_FEATURE. Signed-off-by: Ross Burton Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 71fcabd7fa..79605faa95 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"