aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>2020-07-02 16:44:22 +0800
committerKhem Raj <raj.khem@gmail.com>2020-07-02 08:55:34 -0700
commitfadaf4867074d0140e769b954b7e8afb92c4dd1a (patch)
treefae23e7d499d20b24863e69d6d24bf083dbd4c90
parent07f69a5aaf3c5a09c3262492f5a15dd894b8287a (diff)
downloadmeta-openembedded-fadaf4867074d0140e769b954b7e8afb92c4dd1a.tar.gz
meta-openembedded-fadaf4867074d0140e769b954b7e8afb92c4dd1a.tar.bz2
meta-openembedded-fadaf4867074d0140e769b954b7e8afb92c4dd1a.zip
mraa: Disable python2, otherwise, there is a build error when enable multilib.
ERROR: mraa-2.1.0+gitAUTOINC+e15ce6fbc7-r0 do_package: QA Issue: mraa: Files/directories were installed but not shipped in any package: /usr/lib/python3.8/site-packages/_mraa.so /usr/lib/python3.8/site-packages/mraa.py Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/mraa/mraa_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb
index 7c2441632..8bd8e9006 100644
--- a/meta-oe/recipes-extended/mraa/mraa_git.bb
+++ b/meta-oe/recipes-extended/mraa/mraa_git.bb
@@ -22,7 +22,7 @@ inherit cmake distutils3-base
DEPENDS += "json-c"
-EXTRA_OECMAKE_append = " -DINSTALLTOOLS:BOOL=ON -DFIRMATA=ON -DCMAKE_SKIP_RPATH=ON \
+EXTRA_OECMAKE_append = " -DINSTALLTOOLS:BOOL=ON -DFIRMATA=ON -DCMAKE_SKIP_RPATH=ON -DPYTHON2_LIBRARY=OFF \
-DPYTHON3_PACKAGES_PATH:PATH=${baselib}/python${PYTHON_BASEVERSION}/site-packages \
-DPYTHON_LIBRARY=${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so \
-DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} \