diff options
author | Christian B. Sørensen <yocto@bsorensen.net> | 2021-02-23 07:30:58 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-02-23 11:08:21 -0800 |
commit | 96db316f758e8d11f70509e4ca195c7eefcceee5 (patch) | |
tree | f59f5a344d2a3a1bc4908aa14fdaf15d3bbdd612 /meta-oe/recipes-support/libgpiod | |
parent | 0843da7c1336ce320f193af23ff330b6d3f5f67b (diff) | |
download | meta-openembedded-96db316f758e8d11f70509e4ca195c7eefcceee5.tar.gz |
libgpiod: packageqa problem => static python lib to ${PN}-staticdev
Problem:
QA Issue: non -staticdev package contains static .a library
Reason:
Both /usr/lib/python3.8/site-packages/gpiod.a and
/usr/lib/python3.8/site-packages/gpiod.so are in ${PN}-python.
Signed-off-by: Christian Bräuner Sørensen <yocto@bsorensen.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libgpiod')
-rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb index e6b6476e2..c6c262b70 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.2.bb | |||
@@ -31,7 +31,8 @@ FILES_${PN}-tools = "${bindir}/*" | |||
31 | FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*" | 31 | FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*" |
32 | 32 | ||
33 | PACKAGES =+ "${PN}-python" | 33 | PACKAGES =+ "${PN}-python" |
34 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" | 34 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so" |
35 | FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" | ||
35 | RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" | 36 | RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" |
36 | RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}" | 37 | RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}" |
37 | 38 | ||