croserver: build using python3
(From meta-openpower rev: 80327188d074d91d52500647bb09d810b5e5b2e6)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I64f184cc47835e0afc9663f9d377eddd5704729c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-openpower/recipes-bsp/ecmd/croserver_git.bb b/meta-openpower/recipes-bsp/ecmd/croserver_git.bb
index 3763923..6dd7fae 100644
--- a/meta-openpower/recipes-bsp/ecmd/croserver_git.bb
+++ b/meta-openpower/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() {