* [Buildroot] [PATCH v2 0/2] package/kmsxx: Add support for pykms
@ 2026-10-05 6:58 Paul Elder
2026-10-05 6:58 ` [Buildroot] [PATCH v2 1/2] package/kmsxx: Add option " Paul Elder
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Paul Elder @ 2026-10-05 6:58 UTC (permalink / raw)
To: buildroot; +Cc: Paul Elder, laurent.pinchart, tomi.valkeinen, thomas.petazzoni
This series adds support for pykms in kmsxx. This enables the python
bindings for kmsxx.
The first patch adds support for pykms as a separate build config
option, and the second patchs adds a couple utils to be built.
The patch in v1 updating the package to upstream has been merged
already, and the remaining patch has been split into to in v2 as
strictly they do different things. Dependencies have been fixed in v2.
Paul Elder (2):
package/kmsxx: Add option for pykms
package/kmsxx: Add kmsprint and kmstest to extra utils
package/kmsxx/Config.in | 7 +++++++
package/kmsxx/kmsxx.mk | 9 +++++++--
2 files changed, 14 insertions(+), 2 deletions(-)
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread* [Buildroot] [PATCH v2 1/2] package/kmsxx: Add option for pykms
2026-10-05 6:58 [Buildroot] [PATCH v2 0/2] package/kmsxx: Add support for pykms Paul Elder
@ 2026-10-05 6:58 ` Paul Elder
2026-10-05 6:58 ` [Buildroot] [PATCH v2 2/2] package/kmsxx: Add kmsprint and kmstest to extra utils Paul Elder
2026-10-07 7:56 ` [Buildroot] [PATCH v2 0/2] package/kmsxx: Add support for pykms Thomas Petazzoni via buildroot
2 siblings, 0 replies; 4+ messages in thread
From: Paul Elder @ 2026-10-05 6:58 UTC (permalink / raw)
To: buildroot; +Cc: Paul Elder, laurent.pinchart, tomi.valkeinen, thomas.petazzoni
Add option to kmsxx to enable building pykms.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
---
Changes in v2:
- split out adding kmsprint and kmstest
- remove python and pybind build dependency
- s/depends on/select/
---
package/kmsxx/Config.in | 7 +++++++
package/kmsxx/kmsxx.mk | 7 ++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/package/kmsxx/Config.in b/package/kmsxx/Config.in
index fa327ba18de1..8fe023c63ea4 100644
--- a/package/kmsxx/Config.in
+++ b/package/kmsxx/Config.in
@@ -16,6 +16,13 @@ config BR2_PACKAGE_KMSXX
if BR2_PACKAGE_KMSXX
+config BR2_PACKAGE_KMSXX_PYKMS
+ bool "Enable Python bindings"
+ depends on BR2_PACKAGE_PYTHON3
+ select BR2_PACKAGE_PYTHON_PYBIND
+ help
+ This option enables the pykms python bindings.
+
config BR2_PACKAGE_KMSXX_INSTALL_TESTS
bool "Install test programs"
help
diff --git a/package/kmsxx/kmsxx.mk b/package/kmsxx/kmsxx.mk
index 5aeb48910c7e..10cae6577921 100644
--- a/package/kmsxx/kmsxx.mk
+++ b/package/kmsxx/kmsxx.mk
@@ -12,13 +12,18 @@ KMSXX_INSTALL_STAGING = YES
KMSXX_DEPENDENCIES = fmt libdrm host-pkgconf
KMSXX_CONF_OPTS = \
-Dkmscube=false \
- -Dpykms=disabled \
-Domap=disabled
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
KMSXX_CXXFLAGS += $(TARGET_CXXFLAGS) -O0
endif
+ifeq ($(BR2_PACKAGE_KMSXX_PYKMS),y)
+KMSXX_CONF_OPTS += -Dpykms=enabled
+else
+KMSXX_CONF_OPTS += -Dpykms=disabled
+endif
+
ifeq ($(BR2_PACKAGE_KMSXX_INSTALL_TESTS),y)
KMSXX_CONF_OPTS += -Dutils=true
# extra handling for some utils not installed by default
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2 2/2] package/kmsxx: Add kmsprint and kmstest to extra utils
2026-10-05 6:58 [Buildroot] [PATCH v2 0/2] package/kmsxx: Add support for pykms Paul Elder
2026-10-05 6:58 ` [Buildroot] [PATCH v2 1/2] package/kmsxx: Add option " Paul Elder
@ 2026-10-05 6:58 ` Paul Elder
2026-10-07 7:56 ` [Buildroot] [PATCH v2 0/2] package/kmsxx: Add support for pykms Thomas Petazzoni via buildroot
2 siblings, 0 replies; 4+ messages in thread
From: Paul Elder @ 2026-10-05 6:58 UTC (permalink / raw)
To: buildroot; +Cc: Paul Elder, laurent.pinchart, tomi.valkeinen, thomas.petazzoni
Add kmsprint and kmstest to the extra utils that are built with the
extra utils option, as they are useful for testing and development.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
---
Changes in v2:
- split from previous patch
---
package/kmsxx/kmsxx.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kmsxx/kmsxx.mk b/package/kmsxx/kmsxx.mk
index 10cae6577921..0678b505401a 100644
--- a/package/kmsxx/kmsxx.mk
+++ b/package/kmsxx/kmsxx.mk
@@ -27,7 +27,7 @@ endif
ifeq ($(BR2_PACKAGE_KMSXX_INSTALL_TESTS),y)
KMSXX_CONF_OPTS += -Dutils=true
# extra handling for some utils not installed by default
-KMSXX_EXTRA_UTILS = kmsview kmscapture
+KMSXX_EXTRA_UTILS = kmsview kmscapture kmsprint kmstest
ifeq ($(BR2_PACKAGE_LIBEVDEV),y)
KMSXX_DEPENDENCIES += libevdev
KMSXX_EXTRA_UTILS += kmstouch
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH v2 0/2] package/kmsxx: Add support for pykms
2026-10-05 6:58 [Buildroot] [PATCH v2 0/2] package/kmsxx: Add support for pykms Paul Elder
2026-10-05 6:58 ` [Buildroot] [PATCH v2 1/2] package/kmsxx: Add option " Paul Elder
2026-10-05 6:58 ` [Buildroot] [PATCH v2 2/2] package/kmsxx: Add kmsprint and kmstest to extra utils Paul Elder
@ 2026-10-07 7:56 ` Thomas Petazzoni via buildroot
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-10-07 7:56 UTC (permalink / raw)
To: Paul Elder; +Cc: buildroot, laurent.pinchart, tomi.valkeinen
On Mon, Oct 05, 2026 at 03:58:14PM +0900, Paul Elder wrote:
> Paul Elder (2):
> package/kmsxx: Add option for pykms
> package/kmsxx: Add kmsprint and kmstest to extra utils
Thanks, series applied!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-10-13 17:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-05 6:58 [Buildroot] [PATCH v2 0/2] package/kmsxx: Add support for pykms Paul Elder
2026-10-05 6:58 ` [Buildroot] [PATCH v2 1/2] package/kmsxx: Add option " Paul Elder
2026-10-05 6:58 ` [Buildroot] [PATCH v2 2/2] package/kmsxx: Add kmsprint and kmstest to extra utils Paul Elder
2026-10-07 7:56 ` [Buildroot] [PATCH v2 0/2] package/kmsxx: Add support for pykms Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox