summaryrefslogtreecommitdiff
path: root/meta/userland.sh
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-30 22:54:28 +0100
committerAnton Kling <anton@kling.gg>2023-10-31 00:18:38 +0100
commit6c0e142409d57c11fc03bcbc3d79a4d646f885ff (patch)
treefa925bac319193d203b8697592dc18c117ca617c /meta/userland.sh
parent34342b53c39aa3f22326b6e4eda960cc20cfa0f0 (diff)
Meta: Create a simple toolchain compilation script
Diffstat (limited to 'meta/userland.sh')
-rwxr-xr-xmeta/userland.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/userland.sh b/meta/userland.sh
index 1686023..94ab441 100755
--- a/meta/userland.sh
+++ b/meta/userland.sh
@@ -1,9 +1,12 @@
#!/bin/sh
scriptdir="$(dirname "$0")"
cd "$scriptdir"
+export PATH="$PATH:$(pwd)/../toolchain/bin/bin"
cd ..
make -C ./userland/libgui
make -C ./userland/libc
+mkdir -p ./sysroot/lib
+make install -C ./userland/libc
make -C ./userland/sh
make -C ./userland/terminal
make -C ./userland/snake