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>
This commit is contained in:
Ross Burton 2013-09-09 10:19:11 +00:00 committed by Richard Purdie
parent 00b17ad18e
commit 0f34041f00
1 changed files with 3 additions and 1 deletions

View 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"