Skip to contentSkip to conversation

package/qt6/qt6base: add support for kms

Buildroot Thomas Petazzoni via buildroot 1 participant 1 message Feb 8, 2023

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=653e573436398ed58e0d4323d684c237b55f9378
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

---
 package/qt6/qt6base/qt6base.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/qt6/qt6base/qt6base.mk +7 -0
index 49a61e4d25..f4e63ab8d9 100644
@@ -207,6 +207,13 @@ else
 QT6BASE_CONF_OPTS += -DFEATURE_jpeg=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_LIBDRM),y)
+QT6BASE_CONF_OPTS += -DFEATURE_kms=ON
+QT6BASE_DEPENDENCIES += libdrm
+else
+QT6BASE_CONF_OPTS += -DFEATURE_kms=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_QT6BASE_FONTCONFIG),y)
 QT6BASE_CONF_OPTS += -DFEATURE_fontconfig=ON
 QT6BASE_DEPENDENCIES += fontconfig

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot