From 8a82c6584c6c68214f49217c74878aa9b7308e43 Mon Sep 17 00:00:00 2001 From: Tipo Man Date: Sun, 24 Nov 2024 16:05:46 +0200 Subject: [PATCH] Adapted toolchain download links to latest OpenIPC changes. --- build.sh | 15 ++++++++------- version.h | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/build.sh b/build.sh index 4d64670..40ebba2 100755 --- a/build.sh +++ b/build.sh @@ -1,14 +1,15 @@ #!/bin/bash -DL="https://github.com/openipc/firmware/releases/download/latest" +DL="https://github.com/OpenIPC/firmware/releases/download/toolchain/toolchain" + if [[ "$1" == *"star6b0" ]]; then - CC=cortex_a7_thumb2_hf-gcc13-musl-4_9 + CC=sigmastar-infinity6b0 elif [[ "$1" == *"star6e" ]]; then - CC=cortex_a7_thumb2_hf-gcc13-glibc-4_9 + CC=sigmastar-infinity6e elif [[ "$1" == *"goke" ]]; then - CC=cortex_a7_thumb2-gcc13-musl-4_9 + CC=goke-gk7205v200 elif [[ "$1" == *"hisi" ]]; then - CC=cortex_a7_thumb2-gcc13-musl-4_9 + CC=hisilicon-hi3516ev200 fi GCC=$PWD/toolchain/$CC/bin/arm-linux-gcc @@ -16,9 +17,9 @@ OUT=msposd_$1 if [[ "$1" != *"jetson"* && "$1" != *"x86"* ]]; then if [ ! -e toolchain/$CC ]; then - wget -c -q --show-progress $DL/$CC.tgz -P $PWD + wget -c -q --show-progress $DL.$CC.tgz -P $PWD mkdir -p toolchain/$CC - tar -xf $CC.tgz -C toolchain/$CC --strip-components=1 || exit 1 + tar -xf toolchain.$CC.tgz -C toolchain/$CC --strip-components=1 || exit 1 rm -f $CC.tgz fi fi diff --git a/version.h b/version.h index 6254bb2..1131bb6 100644 --- a/version.h +++ b/version.h @@ -1,4 +1,4 @@ #ifndef VERSION_H #define VERSION_H -#define GIT_VERSION "c1ffa36-dirty" +#define GIT_VERSION "b3ddae1-dirty" #endif // VERSION_H