summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgpiod
diff options
context:
space:
mode:
authorChristian B. Sørensen <yocto@bsorensen.net>2021-02-23 07:30:58 +0100
committerKhem Raj <raj.khem@gmail.com>2021-02-23 11:08:21 -0800
commit96db316f758e8d11f70509e4ca195c7eefcceee5 (patch)
treef59f5a344d2a3a1bc4908aa14fdaf15d3bbdd612 /meta-oe/recipes-support/libgpiod
parent0843da7c1336ce320f193af23ff330b6d3f5f67b (diff)
downloadmeta-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.bb3
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}/*"
31FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*" 31FILES_libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
32 32
33PACKAGES =+ "${PN}-python" 33PACKAGES =+ "${PN}-python"
34FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" 34FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so"
35FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"
35RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" 36RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
36RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}" 37RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"
37 38