aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2022-04-02 03:07:29 +0000
committerRobert Yang <liezhi.yang@windriver.com>2022-04-01 20:20:00 -0700
commita35f4129a90441926a4433c4a8d8732b92388647 (patch)
tree04418a3523cecc30427c31334e352679c4dfb3b8
parentff75909f2a9e970aaf389e0012888c29f02376e3 (diff)
downloadopenembedded-core-contrib-rbt/pc.tar.gz
openembedded-core-contrib-rbt/pc.tar.bz2
openembedded-core-contrib-rbt/pc.zip
waffle: The surfaceless-egl and gbm requires openglrbt/pc
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) Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-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"
# stack.
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11-egl', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
- surfaceless-egl gbm"
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gbm surfaceless-egl', '', d)} \
+"
# virtual/libgl requires opengl in DISTRO_FEATURES.
REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/${MLPREFIX}libgl', 'opengl', '', d)}"