Skip to content

Commit

Permalink
Fix windows gdb-py3, fix aarch64 linux openocd
Browse files Browse the repository at this point in the history
  • Loading branch information
drunkbatya committed Feb 15, 2024
1 parent d23f0c6 commit ec9c025
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linux/Dockerfile-aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ ADD https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/third-
RUN tar -xvf /toolchain/src/src/archives/third-party-17.0.6.src.tar.xz -C /toolchain/src/src/clang-format/
RUN mv /toolchain/src/src/clang-format/third-party-17.0.6.src /toolchain/src/src/clang-format/third-party

ADD https://github.com/xpack-dev-tools/openocd-xpack/releases/download/v0.12.0-2/xpack-openocd-0.12.0-2-linux-x64.tar.gz /toolchain/src/src/archives/
RUN tar -xvf /toolchain/src/src/archives/xpack-openocd-0.12.0-2-linux-x64.tar.gz -C /tmp
ADD https://github.com/xpack-dev-tools/openocd-xpack/releases/download/v0.12.0-2/xpack-openocd-0.12.0-2-linux-arm64.tar.gz /toolchain/src/src/archives/
RUN tar -xvf /toolchain/src/src/archives/xpack-openocd-0.12.0-2-linux-arm64.tar.gz -C /tmp
RUN rm -rf /tmp/xpack-openocd-0.12.0-2/README.md
RUN rm -rf /tmp/xpack-openocd-0.12.0-2/distro-info
RUN rsync -azv /tmp/xpack-openocd-0.12.0-2/ /toolchain/linux-output-root
Expand Down
2 changes: 2 additions & 0 deletions windows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,5 @@ ADD scripts/bundle_upload.sh /usr/bin/
RUN strip.sh
COPY --from=flipperzero-toolchain-windows-src /usr/x86_64-w64-mingw32/lib /tmp/lib/
RUN cp /tmp/lib/*.dll /toolchain/windows-output-root/bin/
RUN cp /toolchain/windows-output-root/python/python311.dll /toolchain/windows-output-root/bin/
ADD patch/python311._pth /toolchain/windows-output-root/bin/
2 changes: 2 additions & 0 deletions windows/patch/python311._pth
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../python/Lib
../python/DLLs

0 comments on commit ec9c025

Please sign in to comment.