diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2020-03-09 13:35:17 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2020-03-10 18:15:56 +0200 |
commit | eb59ee61d4bc967673346bc16f6585f7ab7cee55 (patch) | |
tree | 79bbb08aafbae89573e743f60583bae75c2769a6 /recipes-qt/qt5/qtbase_git.bb | |
parent | c29bdf41c4494e278a17a233048205bf212e040f (diff) |
Add vulkan PACKAGECONFIGs to qtbase and qtwayland
Add PACKAGECONFIG to qtbase and qtwayland that enable vulkan support.
They are enabled by default when vulkan is in DISTRO_FEATURES.
Change-Id: Ia50dbf4a116ad2b77ab932121dce8b6a3a3dd754
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'recipes-qt/qt5/qtbase_git.bb')
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 90a048cb..0fc2697d 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -53,6 +53,7 @@ PACKAGECONFIG_RELEASE ?= "release" PACKAGECONFIG_DEFAULT ?= "accessibility dbus udev evdev widgets tools libs freetype tests pcre \ ${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)} \ " PACKAGECONFIG ?= " \ @@ -100,6 +101,7 @@ PACKAGECONFIG[pcre] = "-system-pcre,-qt-pcre,pcre2" PACKAGECONFIG[eglfs] = "-eglfs,-no-eglfs,drm" PACKAGECONFIG[gl] = "-opengl desktop,,virtual/libgl" PACKAGECONFIG[gles2] = "-opengl es2,,virtual/libgles2 virtual/egl" +PACKAGECONFIG[vulkan] = "-vulkan,-no-vulkan,vulkan-headers" PACKAGECONFIG[no-opengl] = "-no-opengl" PACKAGECONFIG[tslib] = "-tslib,-no-tslib,tslib" PACKAGECONFIG[cups] = "-cups,-no-cups,cups" |