Skip to contentSkip to conversation

qtbase: Add needed bbappend for rk3399 SOCs

PATCH Applied Khem Raj 2 participants 2 messages Jun 15, 2021 – Jun 23, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 qtbase: Add needed bbappend for rk3399 SOCs

This ensures that DISTRO_FEATURES can translates correctly for qtbate packageconfigs and we can get right platforms enabled

---
 conf/layer.conf                                          | 5 +++++
 .../qt5-layer/recipes-qt/qt5/qtbase_%.bbappend           | 9 +++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
conf/layer.conf +5 -0
index b263b6f..f97fb69 100644
@@ -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 \
+"
dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend new file +9 -0
new file mode 100644
index 0000000..a977229
@@ -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"
Signature · 1 line
2.32.0