From 381ef9d52742ebf2861ec6d31e2aeaa590a67bfd Mon Sep 17 00:00:00 2001 From: okay Date: Fri, 24 May 2024 15:45:36 -0700 Subject: [PATCH] [rmkit] set default CROSS_TC in docker_release.sh to arm-linux-gnueabihf for rm support --- docker/Dockerfile.rm | 1 + scripts/build/docker_release.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile.rm b/docker/Dockerfile.rm index 7856ee34..2b28967b 100644 --- a/docker/Dockerfile.rm +++ b/docker/Dockerfile.rm @@ -5,3 +5,4 @@ RUN pip3 install okp WORKDIR /rmkit COPY . /rmkit/ RUN rm src/build -fr +ENV CROSS_TC=arm-linux-gnueabihf diff --git a/scripts/build/docker_release.sh b/scripts/build/docker_release.sh index 0f78de08..5d373bdf 100644 --- a/scripts/build/docker_release.sh +++ b/scripts/build/docker_release.sh @@ -1,7 +1,7 @@ OUTDIR=artifacts TARGET=${TARGET:-rm} FBINK=${FBINK} -CROSS_TC=${CROSS_TC} +CROSS_TC=${CROSS_TC:-arm-linux-gnueabihf} mkdir ${OUTDIR} docker run -i --rm -v "${PWD}/${OUTDIR}:/mnt/artifacts" rmkit:${TARGET} /bin/bash << COMMANDS