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>
This commit is contained in:
Khem Raj
2020-04-05 08:40:30 -07:00
parent 1a9cb1f526
commit 6d35e3c816
+2
View File
@@ -27,6 +27,8 @@ COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
inherit distutils3-base cmake pkgconfig inherit distutils3-base cmake pkgconfig
EXTRA_OECMAKE += "-UPYTHON_EXECUTABLE"
# override this in local.conf to get needed bindings. # override this in local.conf to get needed bindings.
# BINDINGS_pn-upm="python" # BINDINGS_pn-upm="python"
# will result in only the python bindings being built/packaged. # will result in only the python bindings being built/packaged.