diff options
| author | Bartosz Golaszewski <brgl@bgdev.pl> | 2021-06-02 16:14:54 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-06-04 07:08:13 -0700 |
| commit | 187beae6bc6351e9a09c48c5cb5b871daf736040 (patch) | |
| tree | 247d8c54156a51e9f72c14f039087f6371a222ab | |
| parent | f3d670d9b3c2428c1ccd18ef71b7854db06954fd (diff) | |
| download | meta-openembedded-187beae6bc6351e9a09c48c5cb5b871daf736040.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb index f51906a430..e1c0e8922a 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb | |||
| @@ -27,11 +27,9 @@ EXTRA_OECONF = "--enable-tools" | |||
| 27 | 27 | ||
| 28 | DEPENDS += "autoconf-archive-native" | 28 | DEPENDS += "autoconf-archive-native" |
| 29 | 29 | ||
| 30 | PACKAGES =+ "${PN}-tools libgpiodcxx" | 30 | PACKAGES =+ "${PN}-tools libgpiodcxx ${PN}-python" |
| 31 | FILES_${PN}-tools = "${bindir}/*" | 31 | FILES_${PN}-tools = "${bindir}/*" |
| 32 | FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*" | 32 | FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*" |
| 33 | |||
| 34 | PACKAGES =+ "${PN}-python" | ||
| 35 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so" | 33 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so" |
| 36 | FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" | 34 | FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" |
| 37 | RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" | 35 | RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" |
