Skip to content

Commit

Permalink
Working version
Browse files Browse the repository at this point in the history
  • Loading branch information
Yagoor committed Nov 29, 2020
1 parent cbfd172 commit e56e2a7
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ docker:
docker build --tag gcc-arm-none-eabi-i386-builder:1.0 .
docker run --mount type=bind,source=$$PWD,destination=/home/user -ti gcc-arm-none-eabi-i386-builder:1.0

gcc: gcc-arm-none-eabi-9-2020-q2-update-src.tar.bz2 gcc-arm-none-eabi-9-2020-q2-update install-sources build-prerequisites build-toolchain gcc-arm-none-eabi-9-2020-q2-update-i386-linux.tar.bz2
gcc: gcc-arm-none-eabi-9-2020-q2-update-src.tar.bz2 gcc-arm-none-eabi-9-2020-q2-update install-sources build-prerequisites build-toolchain

gcc-arm-none-eabi-9-2020-q2-update-src.tar.bz2:
wget -nv https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-src.tar.bz2
Expand All @@ -21,24 +21,15 @@ install-sources:

build-prerequisites:
cd gcc-arm-none-eabi-9-2020-q2-update && \
./build-prerequisites.sh --skip_steps=mingw32 && \
./build-prerequisites.sh --skip_steps=mingw32,howto && \
cd .. && \
touch build-prerequisites

build-toolchain:
cd gcc-arm-none-eabi-9-2020-q2-update && \
./build-toolchain.sh --skip_steps=mingw32,manual && \
./build-toolchain.sh --skip_steps=mingw32,manual,howto && \
cd .. && \
touch build-toolchain

gcc-arm-none-eabi-9-2020-q2-update-i386-linux.tar.bz2:
mkdir tmp && \
cd tmp && \
mkdir gcc-arm-none-eabi-9-2020-q2-update && \
cp -r ../gcc-arm-none-eabi-9-2020-q2-update/install-native/* gcc-arm-none-eabi-9-2020-q2-update/ && \
tar -cvjSf ../gcc-arm-none-eabi-9-2020-q2-update-i386-linux.tar.bz2 gcc-arm-none-eabi-9-2020-q2-update && \
cd .. && \
rm -rf tmp

clean:
rm -rf gcc-arm-none-eabi-9-2020-q2-update-src.tar.bz2 gcc-arm-none-eabi-9-2020-q2-update install-sources build-prerequisites build-toolchain

0 comments on commit e56e2a7

Please sign in to comment.