From 5e1f116e14684865367f9f9a8d38ef1c382b3ebf Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 15 Apr 2022 16:19:02 -0700 Subject: Portable Build Instructions --- .DS_Store | Bin 0 -> 8196 bytes .gitignore | 1 + Colab.mk | 8 ++++++++ Mac.mk | 8 +++++++- 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .DS_Store create mode 100644 Colab.mk diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..a91683f Binary files /dev/null and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index 473da30..6a9b80d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ build/ obj/ +toolchain/ mk.old Makefile *.log diff --git a/Colab.mk b/Colab.mk new file mode 100644 index 0000000..55e83da --- /dev/null +++ b/Colab.mk @@ -0,0 +1,8 @@ +include Common.mk +QEMU = qemu-system-arm +CROSS = ./toolchain/gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi + +init: + @-mkdir toolchain + @curl -o toolchain/colab.chain.tar.bz2 "https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2" + @tar xjvf toolchain/colab.chain.tar.bz2 -C toolchain/ diff --git a/Mac.mk b/Mac.mk index b9e8545..51b248a 100644 --- a/Mac.mk +++ b/Mac.mk @@ -1,3 +1,9 @@ include Common.mk QEMU = qemu-system-arm -CROSS = /Applications/ARM/bin/arm-none-eabi +CROSS = ./toolchain/gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi + +init: + @-mkdir toolchain + @curl -o toolchain/mac.chain.tar.bz2 "https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-mac.tar.bz2" + @tar xjvf toolchain/mac.chain.tar.bz2 -C toolchain/ + -- cgit v1.2.1