summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMartin Hundebøll <mnhu@prevas.dk>2018-05-23 20:23:31 +0200
committerKhem Raj <raj.khem@gmail.com>2018-05-26 21:10:55 -0700
commitbb57bac845f3cd1634862fa9868bc8e294ba74a9 (patch)
tree62d4c57e5467b4ae14e74e9f80311a39622af941 /meta-oe
parent034bb63ad89a2c41dade1c6502347aa8180f1986 (diff)
downloadmeta-openembedded-bb57bac845f3cd1634862fa9868bc8e294ba74a9.tar.gz
libgpiod: add packageconfig for python bindings
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
index c2e11ad38..1bda8bc3a 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
@@ -4,3 +4,11 @@ DEPENDS += "autoconf-archive-native"
4 4
5SRC_URI[md5sum] = "80237a047a9d653a14c5d71e5ce9d641" 5SRC_URI[md5sum] = "80237a047a9d653a14c5d71e5ce9d641"
6SRC_URI[sha256sum] = "9758466468a7ef3f5e30c182c1303abef6241e665cda4d82a64328a7474838c1" 6SRC_URI[sha256sum] = "9758466468a7ef3f5e30c182c1303abef6241e665cda4d82a64328a7474838c1"
7
8PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3,python3-core"
9inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)}
10
11PACKAGES =+ "${PN}-python"
12FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
13RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
14RRECOMMENDS_${PN} += "${RRECOMMENDS_PYTHON}"