summaryrefslogtreecommitdiffstats
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:57:20 +0100
commit0f34041f00b628d5d130b2d9f77ad7b2ed7c8f1d (patch)
tree13fb484d0c3b02d3459bacb22dffa36023c4a3b3 /meta/recipes-graphics/mesa/mesa.inc
parent00b17ad18ee92c8a3f638298bb5e463f51f5a159 (diff)
downloadpoky-0f34041f00b628d5d130b2d9f77ad7b2ed7c8f1d.tar.gz
mesa: use distro_features_check to abort build without opengl feature
Stop mesa from building on distributions without the "opengl" DISTRO_FEATURE. (From OE-Core rev: 05bacb69a3b0f3bbd9dd608855456c32b4007fde) 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"
19 19
20PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl" 20PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl"
21 21
22inherit autotools pkgconfig pythonnative gettext 22inherit autotools pkgconfig pythonnative gettext distro_features_check
23
24REQUIRED_DISTRO_FEATURES = "opengl"
23 25
24EXTRA_OECONF = "--enable-shared-glapi" 26EXTRA_OECONF = "--enable-shared-glapi"
25 27