mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
mesa.inc: make PROVIDES conditional on PACKAGECONFIG
Mesa only PROVIDES these features if they are enabled via PACKAGECONFIG. Therefore make the PROVIDES conditional depending on whether or not these features have been enabled. (From OE-Core rev: 8b1e57eb8c959c0f0a5d9a7e0c2e0811c515ea08) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f2465cd3fb
commit
2b2a9149a6
@@ -16,7 +16,12 @@ PE = "2"
|
||||
|
||||
DEPENDS = "expat makedepend-native flex-native bison-native libxml2-native zlib chrpath-replacement-native"
|
||||
EXTRANATIVEPATH += "chrpath-native"
|
||||
PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa"
|
||||
PROVIDES = " \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'virtual/libgl', '', d)} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'gles', 'virtual/libgles1 virtual/libgles2', '', d)} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'egl', 'virtual/egl', '', d)} \
|
||||
virtual/mesa \
|
||||
"
|
||||
|
||||
inherit autotools pkgconfig python3native gettext distro_features_check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user