blob: 71a45edb9e6af3ac952c3425fc3bb7a561531367 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001require libgpiod.inc
2
3DEPENDS += "autoconf-archive-native"
4
Brad Bishopc8f47122019-06-24 09:36:18 -04005SRC_URI[md5sum] = "bd52d764017215a30e2f014d2081dc3e"
6SRC_URI[sha256sum] = "ebde83aaf14be3abd33e7a90faa487a2ee231e242897afe7fdefb765386b3c8b"
Brad Bishop19323692019-04-05 15:28:33 -04007
Brad Bishop15ae2502019-06-18 21:44:24 -04008# enable tools and cxx bindings
9PACKAGECONFIG ?= "cxx tools"
10
Brad Bishop19323692019-04-05 15:28:33 -040011PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"
Brad Bishopc8f47122019-06-24 09:36:18 -040012PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
Brad Bishop19323692019-04-05 15:28:33 -040013
14PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3"
15inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)}
16
17PACKAGES =+ "${PN}-python"
18FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
19RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
20RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"