mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-09 06:20:27 +00:00
Commit ab54dd75 "libgpiod: Rrecommend python3 only for PN-python package" also removes the build dependency on python3 however this results in fatal error: Python.h: No such file or directory #include <Python.h> Signed-off-by: Ferry Toth <ftoth@exalondelft.nl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 lines
664 B
BlitzBasic
17 lines
664 B
BlitzBasic
require libgpiod.inc
|
|
|
|
DEPENDS += "autoconf-archive-native"
|
|
|
|
SRC_URI[md5sum] = "34a9972f2f4e9c32fa940301301b007d"
|
|
SRC_URI[sha256sum] = "b6b9079c933f7c8524815437937dda6b795a16141bca202a9eec70ba5844b5ba"
|
|
|
|
PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"
|
|
|
|
PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3"
|
|
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}-python += "${RRECOMMENDS_PYTHON}"
|