From 8bebdb7f1aa1d6018d3fd6eafbd44a07a28605cd Mon Sep 17 00:00:00 2001 From: Christopher Wilson Date: Tue, 17 Sep 2019 21:39:04 -0700 Subject: [PATCH] Build mpy-cross dependency for micropython builds --- plugins/python-build/bin/python-build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 56e670a4..59899468 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1008,7 +1008,9 @@ build_package_micropython() { elif [ -z "${MAKE_OPTS+defined}" ]; then MAKE_OPTS="-j $(num_cpu_cores)" fi - { cd ports/unix + { cd mpy-cross + "$MAKE" $MAKE_OPTS + cd ports/unix "$MAKE" $MAKE_OPTS axtls "$MAKE" $MAKE_OPTS CFLAGS_EXTRA="-DMICROPY_PY_SYS_PATH_DEFAULT='\"${PREFIX_PATH}/lib/micropython\"'" "$MAKE" install $MAKE_INSTALL_OPTS PREFIX="${PREFIX_PATH}"