瀏覽代碼

Merge pull request #1394 from cdwilson/fix-micropython-build

Build mpy-cross dependency for micropython builds
pull/1397/head
Yamashita, Yuu 6 年之前
committed by GitHub
父節點
當前提交
e29d2b666b
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      plugins/python-build/bin/python-build

+ 3
- 1
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}"

Loading…
取消
儲存