All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-rockchip][PATCH] qtbase: Add needed bbappend for rk3399 SOCs
@ 2021-06-15  1:51 Khem Raj
  2021-06-23 19:44 ` Trevor Woerner
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2021-06-15  1:51 UTC (permalink / raw)
  To: yocto; +Cc: twoerner, Khem Raj

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 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

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-rockchip][PATCH] qtbase: Add needed bbappend for rk3399 SOCs
  2021-06-15  1:51 [meta-rockchip][PATCH] qtbase: Add needed bbappend for rk3399 SOCs Khem Raj
@ 2021-06-23 19:44 ` Trevor Woerner
  0 siblings, 0 replies; 2+ messages in thread
From: Trevor Woerner @ 2021-06-23 19:44 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

Applied to meta-rockchip master. Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-23 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15  1:51 [meta-rockchip][PATCH] qtbase: Add needed bbappend for rk3399 SOCs Khem Raj
2021-06-23 19:44 ` Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.