mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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:
committed by
Richard Purdie
parent
00b17ad18e
commit
0f34041f00
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user