summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-07-06 10:54:37 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-08 13:34:46 +0100
commit5da100c4eb33db69600df68f8157ec3a072107e4 (patch)
tree94444474cafbd23451d60e551dc4b9eaf128dac2
parent4a51d254cfb35a54ddf2dfc7e8114b351b46f9d6 (diff)
downloadpoky-5da100c4eb33db69600df68f8157ec3a072107e4.tar.gz
mesa, gstreamer: Add "vulkan" DISTRO_FEATURE
It doesn't do much but does make enabling vulkan a little less fiddly. (From OE-Core rev: a5ed54e5253006ce3a5a74c1243c949a42642ff7) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc3
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc2
2 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index a12ab7ab5b..59e8923f26 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -25,7 +25,8 @@ REQUIRED_DISTRO_FEATURES = "opengl"
25EXTRA_OECONF = "--enable-shared-glapi --with-llvm-prefix=${STAGING_BINDIR_NATIVE}" 25EXTRA_OECONF = "--enable-shared-glapi --with-llvm-prefix=${STAGING_BINDIR_NATIVE}"
26 26
27PACKAGECONFIG ??= "gbm egl gles dri \ 27PACKAGECONFIG ??= "gbm egl gles dri \
28 ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)} \ 28 ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 vulkan', d)} \
29 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \
29 " 30 "
30PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" 31PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm"
31 32
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index 4f6bc854d2..e964fef3f2 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -20,7 +20,7 @@ PACKAGECONFIG ??= " \
20 ${GSTREAMER_ORC} \ 20 ${GSTREAMER_ORC} \
21 ${PACKAGECONFIG_GL} \ 21 ${PACKAGECONFIG_GL} \
22 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ 22 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
23 ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \ 23 ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \
24 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', '', d)} \ 24 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', '', d)} \
25 bz2 curl dash dtls hls neon rsvg sbc smoothstreaming sndfile uvch264 webp \ 25 bz2 curl dash dtls hls neon rsvg sbc smoothstreaming sndfile uvch264 webp \
26" 26"