aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-04-15 16:19:02 -0700
committerChristian Cunningham <cc@localhost>2022-04-15 16:19:02 -0700
commit5e1f116e14684865367f9f9a8d38ef1c382b3ebf (patch)
treed047229cfb806b27672a41b5de8ea5858571eb96
parentaf410fce64b605395d4bccc87f6fcb853d04664b (diff)
Portable Build Instructions
-rw-r--r--.DS_Storebin0 -> 8196 bytes
-rw-r--r--.gitignore1
-rw-r--r--Colab.mk8
-rw-r--r--Mac.mk8
4 files changed, 16 insertions, 1 deletions
diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..a91683f
--- /dev/null
+++ b/.DS_Store
Binary files 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/
+