diff options
author | Martin Hundebøll <mnhu@prevas.dk> | 2018-05-23 20:23:31 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-05-26 21:10:55 -0700 |
commit | bb57bac845f3cd1634862fa9868bc8e294ba74a9 (patch) | |
tree | 62d4c57e5467b4ae14e74e9f80311a39622af941 /meta-oe | |
parent | 034bb63ad89a2c41dade1c6502347aa8180f1986 (diff) | |
download | meta-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.bb | 8 |
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 | ||
5 | SRC_URI[md5sum] = "80237a047a9d653a14c5d71e5ce9d641" | 5 | SRC_URI[md5sum] = "80237a047a9d653a14c5d71e5ce9d641" |
6 | SRC_URI[sha256sum] = "9758466468a7ef3f5e30c182c1303abef6241e665cda4d82a64328a7474838c1" | 6 | SRC_URI[sha256sum] = "9758466468a7ef3f5e30c182c1303abef6241e665cda4d82a64328a7474838c1" |
7 | |||
8 | PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3,python3-core" | ||
9 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)} | ||
10 | |||
11 | PACKAGES =+ "${PN}-python" | ||
12 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" | ||
13 | RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" | ||
14 | RRECOMMENDS_${PN} += "${RRECOMMENDS_PYTHON}" | ||