[oe] [meta-qt5] [PATCH] qtwayland: handle examples, tests PACKAGECONFIG

Samuli Piippo samuli.piippo at gmail.com
Fri Mar 16 12:58:12 UTC 2018


This happens on every module, but only if you have examples enabled in
qtbase: https://github.com/meta-qt5/meta-qt5/commit/909858baf064216a3b221edb59b40cc93d536a44

On 16 March 2018 at 11:00,  <liu.ming50 at gmail.com> wrote:
> From: Ming Liu <liu.ming50 at gmail.com>
>
> 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 <liu.ming50 at gmail.com>
> ---
>  recipes-qt/qt5/qtwayland_git.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb
> index 91ffcd7..aece932 100644
> --- a/recipes-qt/qt5/qtwayland_git.bb
> +++ b/recipes-qt/qt5/qtwayland_git.bb
> @@ -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
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list