Merge pull request #979 from scop/micropython

micropython-dev: unix dir moved to ports/unix
This commit is contained in:
Yamashita, Yuu 2017-09-16 09:54:00 +09:00 committed by GitHub
commit 90ac836576

View file

@ -944,7 +944,7 @@ build_package_micropython() {
elif [ -z "${MAKE_OPTS+defined}" ]; then elif [ -z "${MAKE_OPTS+defined}" ]; then
MAKE_OPTS="-j $(num_cpu_cores)" MAKE_OPTS="-j $(num_cpu_cores)"
fi fi
{ cd 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}"