mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
libgpiod: list all packages in a single assignment
Don't have assignments to PACKAGES scattered across the recipe - use a single place for that before assigning FILES. 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
f3d670d9b3
commit
187beae6bc
@@ -27,11 +27,9 @@ EXTRA_OECONF = "--enable-tools"
|
||||
|
||||
DEPENDS += "autoconf-archive-native"
|
||||
|
||||
PACKAGES =+ "${PN}-tools libgpiodcxx"
|
||||
PACKAGES =+ "${PN}-tools libgpiodcxx ${PN}-python"
|
||||
FILES_${PN}-tools = "${bindir}/*"
|
||||
FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
|
||||
|
||||
PACKAGES =+ "${PN}-python"
|
||||
FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so"
|
||||
FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"
|
||||
RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
|
||||
|
||||
Reference in New Issue
Block a user