qtwayland: handle examples, tests PACKAGECONFIG
PATCH 1/1 qtwayland: handle examples, tests PACKAGECONFIG
From: Ming Liu <[email protected]>
The examples and tests parts of qtwayland are enabled by default even they are not passed by QT_BUILD_PARTS, so we need special logic set in qtwayland to explicitly disable them if they are not being chosen in PACKAGECONFIG.
--- recipes-qt/qt5/qtwayland_git.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-qt/qt5/qtwayland_git.bb +3 -0
@@ -35,6 +35,9 @@ PACKAGECONFIG[wayland-brcm] = "-feature-wayland-brcm,-no-feature-wayland-brcm,vi PACKAGECONFIG[drm-egl-server] = "-feature-drm-egl-server,-no-feature-drm-egl-server,libdrm virtual/egl" PACKAGECONFIG[libhybris-egl-server] = "-feature-libhybris-egl-server,-no-feature-libhybris-egl-server,libhybris" +EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'examples', '', 'QT_BUILD_PARTS-=examples', d)}" +EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'tests', '', 'QT_BUILD_PARTS-=tests', d)}" + EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" SRCREV = "db36bc0d9ccae21e84cd54be3e18ae539542eadc"
Signature · 1 line
2.7.4
This happens on every module, but only if you have examples enabled in
qtbase: https://github.com/meta-qt5/meta-qt5/commit/909858baf064216a3b221edb59b40cc93d536a44
Quoted 34 lines · On 16 March 2018 at 11:00, <[email protected]> wrote:
From: Ming Liu <[email protected]>
The examples and tests parts of qtwayland are enabled by default even they are not passed by
QT_BUILD_PARTS, so we need special logic set in qtwayland to explicitly disable them if they are not being chosen in PACKAGECONFIG.Signed-off-by Ming Liu <[email protected]>--- recipes-qt/qt5/qtwayland_git.bb | 3 +++ 1 file changed, 3 insertions(+)recipes-qt/qt5/qtwayland_git.bb +3
-1@@ -35,6 +35,9 @@ PACKAGECONFIG[wayland-brcm] = "-feature-wayland-brcm,-no-feature-wayland-brcm,vi PACKAGECONFIG[drm-egl-server] = "-feature-drm-egl-server,-no-feature-drm-egl-server,libdrm virtual/egl" PACKAGECONFIG[libhybris-egl-server] = "-feature-libhybris-egl-server,-no-feature-libhybris-egl-server,libhybris" +EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'examples', '', 'QT_BUILD_PARTS-=examples', d)}" +EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'tests', '', 'QT_BUILD_PARTS-=tests', d)}" + EXTRA_QMAKEVARS_CONFIGURE += "${PACKAGECONFIG_CONFARGS}" SRCREV = "db36bc0d9ccae21e84cd54be3e18ae539542eadc" --2.7.4
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel