Skip to content

Commit 2097a3d

Browse files
committed
always install arm-none-eabi-gcc
1 parent 4faa462 commit 2097a3d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

cortex-m-rt/ci/install.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ set -euxo pipefail
33
main() {
44
if [ $TARGET != x86_64-unknown-linux-gnu ]; then
55
rustup target add $TARGET
6+
fi
67

7-
if [ ${CC:-gcc} = gcc ]; then
8-
mkdir gcc
8+
mkdir gcc
99

10-
curl -L https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2?revision=bc2c96c0-14b5-4bb4-9f18-bceb4050fee7?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,7-2018-q2-update | tar --strip-components=1 -C gcc -xj
11-
fi
12-
fi
10+
curl -L https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2?revision=bc2c96c0-14b5-4bb4-9f18-bceb4050fee7?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,7-2018-q2-update | tar --strip-components=1 -C gcc -xj
1311
}
1412

1513
main

0 commit comments

Comments
 (0)