[oe-commits] Ross Burton : mesa: use distro_features_check to abort build without opengl feature

git at git.openembedded.org git at git.openembedded.org
Thu Sep 12 15:38:41 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 05bacb69a3b0f3bbd9dd608855456c32b4007fde
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=05bacb69a3b0f3bbd9dd608855456c32b4007fde

Author: Ross Burton <ross.burton at intel.com>
Date:   Mon Sep  9 10:19:11 2013 +0000

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 at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 71fcabd..79605fa 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"
 



More information about the Openembedded-commits mailing list