summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2022-04-01 20:22:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-03 20:47:14 +0100
commit939142ff9cf72c8e4712a5405e915b0f7cf51cea (patch)
tree395d4fa9546390c326d4f67b1e94fa5c0691bbe0 /meta
parent9646dae4b293acf98a7ffd2dd8092283eca07707 (diff)
downloadpoky-939142ff9cf72c8e4712a5405e915b0f7cf51cea.tar.gz
waffle: The surfaceless-egl and gbm requires opengl
Fixed when opengl is not in DISTRO_FEATURES: ERROR: Nothing PROVIDES 'virtual/libgbm' (but /path/to/waffle/waffle_1.7.0.bb DEPENDS on or otherwise requires it) (From OE-Core rev: a762162fa0f51b9c6187fd1fcfaad2f317f8762e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/waffle/waffle_1.7.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/waffle/waffle_1.7.0.bb b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
index b931515700..f1fd9e7630 100644
--- a/meta/recipes-graphics/waffle/waffle_1.7.0.bb
+++ b/meta/recipes-graphics/waffle/waffle_1.7.0.bb
@@ -23,7 +23,8 @@ DEPENDS:append = " python3 cmake-native"
23# stack. 23# stack.
24PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11-egl', '', d)} \ 24PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11-egl', '', d)} \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ 25 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
26 surfaceless-egl gbm" 26 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gbm surfaceless-egl', '', d)} \
27"
27 28
28# virtual/libgl requires opengl in DISTRO_FEATURES. 29# virtual/libgl requires opengl in DISTRO_FEATURES.
29REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/${MLPREFIX}libgl', 'opengl', '', d)}" 30REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/${MLPREFIX}libgl', 'opengl', '', d)}"