summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/mesa/mesa.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-09-09 10:19:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-10 15:56:28 +0100
commit05bacb69a3b0f3bbd9dd608855456c32b4007fde (patch)
tree1a9b27cc001e863bc67db38def5f4df9881ff790 /meta/recipes-graphics/mesa/mesa.inc
parente1a3ff7d455889e4c6b899227e8ca1919a443b22 (diff)
downloadopenembedded-core-05bacb69a3b0f3bbd9dd608855456c32b4007fde.tar.gz
openembedded-core-05bacb69a3b0f3bbd9dd608855456c32b4007fde.tar.bz2
openembedded-core-05bacb69a3b0f3bbd9dd608855456c32b4007fde.zip
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 <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc4
1 files changed, 3 insertions, 1 deletions
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"