diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2022-04-01 20:22:22 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-03 20:47:14 +0100 |
commit | 939142ff9cf72c8e4712a5405e915b0f7cf51cea (patch) | |
tree | 395d4fa9546390c326d4f67b1e94fa5c0691bbe0 /meta/recipes-graphics | |
parent | 9646dae4b293acf98a7ffd2dd8092283eca07707 (diff) | |
download | poky-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/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/waffle/waffle_1.7.0.bb | 3 |
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. |
24 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11-egl', '', d)} \ | 24 | PACKAGECONFIG ??= "${@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. |
29 | REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/${MLPREFIX}libgl', 'opengl', '', d)}" | 30 | REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/${MLPREFIX}libgl', 'opengl', '', d)}" |