diff --git a/conf/layer.conf b/conf/layer.conf index b263b6f..f97fb69 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -16,3 +16,8 @@ BBFILE_PRIORITY_rockchip = "1" LAYERVERSION_rockchip = "1" LAYERSERIES_COMPAT_rockchip = "hardknott" LAYERDEPENDS_rockchip = "core meta-arm" + +BBFILES_DYNAMIC += " \ + qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bb \ + qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \ +" diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend new file mode 100644 index 0000000..a977229 --- /dev/null +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend @@ -0,0 +1,9 @@ +PACKAGECONFIG_GL_rk3399 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'gl', \ + bb.utils.contains('DISTRO_FEATURES', 'opengl', 'eglfs gles2', \ + '', d), d)}" +PACKAGECONFIG_GL_append_rk3399 = " kms gbm" + +PACKAGECONFIG_FONTS_rk3399 = "fontconfig" + +PACKAGECONFIG_append_rk3399 = " libinput examples tslib xkbcommon" +PACKAGECONFIG_remove_rk3399 = "tests"