2018-05-23 20:23 GMT+02:00 Martin Hundebøll <[email protected]>: > Signed-off-by: Martin Hundebøll <[email protected]> > --- > meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb | 8 ++++++++ > 1 file changed, 8 insertions(+) > > 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" > > SRC_URI[md5sum] = "80237a047a9d653a14c5d71e5ce9d641" > SRC_URI[sha256sum] = > "9758466468a7ef3f5e30c182c1303abef6241e665cda4d82a64328a7474838c1" > + > +PACKAGECONFIG[python3] = > "--enable-bindings-python,--disable-bindings-python,python3,python3-core" > +inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', > '', d)} > + > +PACKAGES =+ "${PN}-python" > +FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" > +RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', > '${PN}-python', '',d)}" > +RRECOMMENDS_${PN} += "${RRECOMMENDS_PYTHON}" > -- > 2.17.0 >
Thanks! Could you maybe do the same for C++ bindings? Bart -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
