qtbase: Add needed bbappend for rk3399 SOCs

This ensures that DISTRO_FEATURES can translate correctly
for qtbase PACKAGECONFIGs and we can get right platforms enabled.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2021-06-14 18:51:14 -07:00 committed by Trevor Woerner
parent 04fb5bc388
commit 41596bb21b
2 changed files with 14 additions and 0 deletions

View File

@ -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 \
"

View File

@ -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"