diff options
author | Anton Kling <anton@kling.gg> | 2023-10-30 22:44:02 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-31 00:18:38 +0100 |
commit | 34342b53c39aa3f22326b6e4eda960cc20cfa0f0 (patch) | |
tree | 01bc4fcbc78623e406bcfa45dd9bd04ebd915663 /sync.sh | |
parent | 8a9208612eec8ddae4c418485d848ecfa0613699 (diff) |
Meta: Create simple build scripts for kernel, userland and general enviroment
Diffstat (limited to 'sync.sh')
-rwxr-xr-x | sync.sh | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/sync.sh b/sync.sh deleted file mode 100755 index 3a7498b..0000000 --- a/sync.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh -cd ./userland/libgui -make clean -make -cd ../.. -# -cd ./userland/libc -#make clean -make -make install -cd ../.. - -cd ./userland/sh -make clean -make -cd ../.. -cd ./userland/terminal -make clean -make -cd ../.. -# -cd ./userland/snake -make clean -make -cd ../.. -# -cd ./userland/ante -make clean -make -cd ../.. -# -cd ./userland/windowserver -make clean -make -cd ../.. -# -cd ./userland/test -make clean -make -cd ../.. -# -cd ./userland/minibox -make clean -make -cd ../.. - -pwd -sudo mount ext2.img mount -sudo cp ./userland/sh/sh ./mount/sh -sudo cp ./userland/terminal/term ./mount/term -sudo cp ./userland/snake/snake ./mount/snake -sudo cp ./userland/ante/ante ./mount/ante -sudo cp ./userland/windowserver/ws ./mount/ws -sudo cp ./userland/test/test ./mount/test -sudo cp ./userland/minibox/minibox ./mount/minibox - -echo -e "int main(void) {\nprintf(\"hi\");\nreturn 0;\n}" > /tmp/main.c - -cd ./mount -sudo rm ./init -sudo rm ./cat -sudo rm ./yes -sudo rm ./echo -sudo rm ./wc -sudo rm ./ls -sudo ln -s ./minibox ./init -sudo ln -s ./minibox ./cat -sudo ln -s ./minibox ./yes -sudo ln -s ./minibox ./echo -sudo ln -s ./minibox ./wc -sudo ln -s ./minibox ./ls -sudo cp /tmp/main.c ./main.c -cd .. -sudo umount mount |