mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
libgpiod: fix RRECOMMENDS for python bindings
RRECOMMENDS for the python module doesn't work because it specifies the module itself as its own RRECOMMENDS. Fix it to recommend the python package if python3 is in PACKAGECONFIG for the main package. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
187beae6bc
commit
1b26441296
@@ -32,8 +32,8 @@ FILES_${PN}-tools = "${bindir}/*"
|
||||
FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
|
||||
FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so"
|
||||
FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"
|
||||
RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
|
||||
RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"
|
||||
|
||||
RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '', d)}"
|
||||
|
||||
PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user