mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
libgpiod: add packageconfig for python bindings
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
034bb63ad8
commit
bb57bac845
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user