croserver: build using python3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5ceb63a94668cab75e5fd2172402f3f07d618d57
diff --git a/recipes-bsp/ecmd/croserver_git.bb b/recipes-bsp/ecmd/croserver_git.bb
index 3763923..6dd7fae 100644
--- a/recipes-bsp/ecmd/croserver_git.bb
+++ b/recipes-bsp/ecmd/croserver_git.bb
@@ -11,10 +11,12 @@
S = "${WORKDIR}/git"
-inherit pythonnative
+inherit python3native
do_configure() {
- LD="${CXX}" ${S}/config.py --without-swig --output-root ${B} --target obj --extensions "cmd cip" --build-verbose
+ LD="${CXX}" ${PYTHON} ${S}/config.py \
+ --without-swig --output-root ${B} --target obj \
+ --extensions "cmd cip" --build-verbose
}
do_compile() {