summaryrefslogtreecommitdiff
path: root/host/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'host/bootstrap')
-rwxr-xr-xhost/bootstrap17
1 files changed, 17 insertions, 0 deletions
diff --git a/host/bootstrap b/host/bootstrap
new file mode 100755
index 0000000..511b88c
--- /dev/null
+++ b/host/bootstrap
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+set -e
+
+mkdir -p var/
+mkdir -p var/root/usr/include/
+
+if [[ ! -d var/cc/toolchain ]]
+then
+ git clone https://github.com/sigsegv7/osmora-toolchain var/cc/toolchain
+fi
+
+if [[ ! -d mos/boot ]]
+then
+ git clone https://github.com/limine-bootloader/limine.git --branch=v9.3.0-binary --depth=1 mos/boot/limine/
+ make -C mos/boot/limine
+fi