Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
Bioblaze committed Oct 25, 2024
1 parent 4b020f5 commit a40e37e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions images/linux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN dnf install -y \
pulseaudio-libs-devel \
libudev-devel \
gcc-c++ \
which \
libstdc++-static \
libatomic-static \
freetype-devel \
Expand Down Expand Up @@ -89,14 +90,16 @@ FROM base AS godot_sdk

WORKDIR /root

ENV GODOT_SDK_VERSIONS="x86_64 i686 aarch64 arm"
ENV GODOT_SDK_VERSIONS="x86_64 i686 aarch64 armv7"
ENV BUILDROOT_REPO="https://github.com/godotengine/buildroot.git"

# Clone the buildroot repository
RUN git clone ${BUILDROOT_REPO} buildroot && cd buildroot
RUN git clone ${BUILDROOT_REPO} buildroot

RUN pwd

# Build SDKs for each architecture https://github.com/godotengine/buildroot#using-buildroot-to-generate-sdks
RUN cd buildroot && \
RUN cd /root/buildroot && \
for arch in $GODOT_SDK_VERSIONS; do \
echo "Building SDK for $arch..." && \
config_file="config-godot-$arch"; \
Expand All @@ -106,7 +109,7 @@ RUN cd buildroot && \
rm -rf output && mkdir output && \
make clean sdk && \
# Determine correct naming for the SDK output directory and tar file
if [ "$arch" = "arm" ]; then \
if [ "$arch" = "armv7" ]; then \
sdk_output_dir="output/images/arm-godot-linux-gnueabihf_sdk-buildroot"; \
sdk_file="arm-godot-linux-gnueabihf_sdk-buildroot.tar.bz2"; \
else \
Expand Down

0 comments on commit a40e37e

Please sign in to comment.