From a40e37e240ac6d8d64a85c0335ce76f024e3d4e5 Mon Sep 17 00:00:00 2001 From: "Randolph W. Aarseth II" Date: Fri, 25 Oct 2024 16:04:00 -0700 Subject: [PATCH] asd --- images/linux.Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/images/linux.Dockerfile b/images/linux.Dockerfile index 3d224b6..7ef41cb 100644 --- a/images/linux.Dockerfile +++ b/images/linux.Dockerfile @@ -33,6 +33,7 @@ RUN dnf install -y \ pulseaudio-libs-devel \ libudev-devel \ gcc-c++ \ + which \ libstdc++-static \ libatomic-static \ freetype-devel \ @@ -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"; \ @@ -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 \