summaryrefslogtreecommitdiff
path: root/recipes-graphics
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-09-06 10:51:51 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-12-22 01:59:24 +0100
commit33fed39a460a2896b89e690fc74581583af8eab4 (patch)
tree49e0204854556b2a28dfbc756ed53ef55a5cee86 /recipes-graphics
parent57ac4ea650c015685e24f6b046ae9e6743370d3e (diff)
mesa: sync with upstream packageconfig changes
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/mesa/mesa_%.bbappend7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index d6955cc..e2a06f3 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -2,8 +2,11 @@
# in conf/distro/include/angstrom-mesa-tweaks.inc
# add the original mesa PACKAGECONFIG settings
-PACKAGECONFIG_pn-mesa_append = " gbm egl gles dri \
- ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)} \
+PACKAGECONFIG_pn-mesa_append = " \
+ ${@bb.utils.filter('DISTRO_FEATURES', 'wayland vulkan', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl egl gles gbm dri', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \
"
# meta-freescale/recipes-graphics/mesa/mesa_%.bbappend