aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/upm
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-04-05 08:40:30 -0700
committerKhem Raj <raj.khem@gmail.com>2020-04-05 10:38:14 -0700
commit6d35e3c8164415b492dbc02c0dea7f0f1faa650f (patch)
tree380dbc21ff201a6443a6957a7197e8566d6e9aa8 /meta-oe/recipes-extended/upm
parent1a9cb1f5260ee91d342402b2bf075d656babd9dc (diff)
downloadmeta-openembedded-contrib-6d35e3c8164415b492dbc02c0dea7f0f1faa650f.tar.gz
upm: Undefine PYTHON_EXECUTABLE cmake variable
upm has its own mechanism to detect python that it has inherited from openCV, this was forked long time ago and never updated to latest from openCV, ideally it should be fixed to entertain PYTHON_EXECUTABLE variable passed from cmake but it does not and causes build errors, proper fix is left for upm community, here we ensure that we can still compile after OE-Core change cmake: fix Python executable with cmake Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Martin Kelly <mkelly@xevo.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-oe/recipes-extended/upm')
-rw-r--r--meta-oe/recipes-extended/upm/upm_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/upm/upm_git.bb b/meta-oe/recipes-extended/upm/upm_git.bb
index 3ab6bbb6ba..2e8ec0e022 100644
--- a/meta-oe/recipes-extended/upm/upm_git.bb
+++ b/meta-oe/recipes-extended/upm/upm_git.bb
@@ -27,6 +27,8 @@ COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
inherit distutils3-base cmake pkgconfig
+EXTRA_OECMAKE += "-UPYTHON_EXECUTABLE"
+
# override this in local.conf to get needed bindings.
# BINDINGS_pn-upm="python"
# will result in only the python bindings being built/packaged.