diff options
author | Ross Burton <ross.burton@intel.com> | 2013-09-09 10:19:11 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-10 15:57:20 +0100 |
commit | 0f34041f00b628d5d130b2d9f77ad7b2ed7c8f1d (patch) | |
tree | 13fb484d0c3b02d3459bacb22dffa36023c4a3b3 /meta/recipes-graphics/mesa/mesa.inc | |
parent | 00b17ad18ee92c8a3f638298bb5e463f51f5a159 (diff) | |
download | poky-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.inc | 4 |
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 | ||
20 | PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl" | 20 | PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl" |
21 | 21 | ||
22 | inherit autotools pkgconfig pythonnative gettext | 22 | inherit autotools pkgconfig pythonnative gettext distro_features_check |
23 | |||
24 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
23 | 25 | ||
24 | EXTRA_OECONF = "--enable-shared-glapi" | 26 | EXTRA_OECONF = "--enable-shared-glapi" |
25 | 27 | ||