Fix path to Unix port in micropython build

This commit is contained in:
Christopher Wilson 2019-09-18 10:18:48 -07:00
parent 8bebdb7f1a
commit a71e590a44

View file

@ -1010,7 +1010,7 @@ build_package_micropython() {
fi fi
{ cd mpy-cross { cd mpy-cross
"$MAKE" $MAKE_OPTS "$MAKE" $MAKE_OPTS
cd ports/unix cd ../ports/unix
"$MAKE" $MAKE_OPTS axtls "$MAKE" $MAKE_OPTS axtls
"$MAKE" $MAKE_OPTS CFLAGS_EXTRA="-DMICROPY_PY_SYS_PATH_DEFAULT='\"${PREFIX_PATH}/lib/micropython\"'" "$MAKE" $MAKE_OPTS CFLAGS_EXTRA="-DMICROPY_PY_SYS_PATH_DEFAULT='\"${PREFIX_PATH}/lib/micropython\"'"
"$MAKE" install $MAKE_INSTALL_OPTS PREFIX="${PREFIX_PATH}" "$MAKE" install $MAKE_INSTALL_OPTS PREFIX="${PREFIX_PATH}"