summaryrefslogtreecommitdiffstats
path: root/rules/libgpiod.in
diff options
context:
space:
mode:
authorBoerje Sewing <Boerje.Sewing@who-ing.de>2018-08-30 13:11:43 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-08-31 10:13:31 +0200
commitea28fd7fe8d72158ea313b65ae7ae3e34bb11c42 (patch)
treec6b7ae40b3544485dab705738780a33c5d03f068 /rules/libgpiod.in
parentd02c0771a6df2161968b27d7dde4886951ef5e27 (diff)
downloadptxdist-ea28fd7fe8d72158ea313b65ae7ae3e34bb11c42.tar.gz
ptxdist-ea28fd7fe8d72158ea313b65ae7ae3e34bb11c42.tar.xz
libgpiod: add support for python3 bindings
Signed-off-by: Boerje Sewing <Boerje.Sewing@who-ing.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libgpiod.in')
-rw-r--r--rules/libgpiod.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/libgpiod.in b/rules/libgpiod.in
index d3d0c6002..488af66f4 100644
--- a/rules/libgpiod.in
+++ b/rules/libgpiod.in
@@ -3,6 +3,7 @@
menuconfig LIBGPIOD
tristate
prompt "libgpiod "
+ select PYTHON3 if LIBGPIOD_PYTHON3
help
libgpiod is a library accompanied by a set of tools for
interacting with the Linux GPIO character device.
@@ -55,4 +56,10 @@ config LIBGPIOD_GPIOMON
help
Waits for events on a GPIO line
+config LIBGPIOD_PYTHON3
+ bool
+ prompt "Install python3 bindings"
+ help
+ Provides bindings for Python 3
+
endif