diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-04-05 08:40:30 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-05 10:38:14 -0700 |
commit | 6d35e3c8164415b492dbc02c0dea7f0f1faa650f (patch) | |
tree | 380dbc21ff201a6443a6957a7197e8566d6e9aa8 /meta-oe/recipes-extended | |
parent | 1a9cb1f5260ee91d342402b2bf075d656babd9dc (diff) | |
download | meta-openembedded-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')
-rw-r--r-- | meta-oe/recipes-extended/upm/upm_git.bb | 2 |
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 3ab6bbb6b..2e8ec0e02 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" | |||
27 | 27 | ||
28 | inherit distutils3-base cmake pkgconfig | 28 | inherit distutils3-base cmake pkgconfig |
29 | 29 | ||
30 | EXTRA_OECMAKE += "-UPYTHON_EXECUTABLE" | ||
31 | |||
30 | # override this in local.conf to get needed bindings. | 32 | # override this in local.conf to get needed bindings. |
31 | # BINDINGS_pn-upm="python" | 33 | # BINDINGS_pn-upm="python" |
32 | # will result in only the python bindings being built/packaged. | 34 | # will result in only the python bindings being built/packaged. |