]> code.ossystems Code Review - openembedded-core.git/commitdiff
mesa: use distro_features_check to abort build without opengl feature
authorRoss Burton <ross.burton@intel.com>
Mon, 9 Sep 2013 10:19:11 +0000 (10:19 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Sep 2013 14:56:28 +0000 (15:56 +0100)
Stop mesa from building on distributions without the "opengl" DISTRO_FEATURE.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/mesa/mesa.inc

index 71fcabd7fa5ef41143f5e72a1a84595038bc2bfd..79605faa95d516823aeff4f402260d2386e7e020 100644 (file)
@@ -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"