Now it is possible to build fully functional OpenBIOS binaries for all architectures using the Debian cross-compiler packages, so switch the builder image from the kernel crosstools compilers to the packaged Debian cross-compilers.
Sigend-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk --- docker/Dockerfile.builder | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/docker/Dockerfile.builder b/docker/Dockerfile.builder index b4abf7f..fd8d46a 100644 --- a/docker/Dockerfile.builder +++ b/docker/Dockerfile.builder @@ -1,19 +1,5 @@ FROM ghcr.io/openbios/fcode-utils:master AS cross
RUN apt-get update && \ - apt-get install -y wget xz-utils tar && \ - wget https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/10.1.0/... && \ - tar Jxf x86_64-gcc-10.1.0-nolibc-sparc64-linux.tar.xz && \ - rm -f x86_64-gcc-10.1.0-nolibc-sparc64-linux.tar.xz && \ - wget https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/10.1.0/... && \ - tar Jxf x86_64-gcc-10.1.0-nolibc-powerpc-linux.tar.xz && \ - rm -f x86_64-gcc-10.1.0-nolibc-powerpc-linux.tar.xz - -FROM ghcr.io/openbios/fcode-utils:master AS builder - -COPY --from=cross /gcc-10.1.0-nolibc /gcc-10.1.0-nolibc - -RUN apt-get update && \ - apt-get install -y make xsltproc gcc gcc-multilib zip - -ENV PATH /gcc-10.1.0-nolibc/sparc64-linux/bin:/gcc-10.1.0-nolibc/powerpc-linux/bin:$PATH + apt-get install -y \ + make xsltproc zip libc6-dev-i386 gcc gcc-multilib-powerpc-linux-gnu gcc-multilib-sparc64-linux-gnu