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: lucaceresoli/bug-15201-perf-libtraceevent-missing~36075 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05bacb69a3b0f3bbd9dd608855456c32b4007fde;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 71fcabd7fa5..79605faa95d 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"