From 6e133942153b5789201d3d742287b7887ba9a7ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Krzy=C5=BCanowski?= Date: Tue, 20 Aug 2024 00:03:08 +0200 Subject: [PATCH] Remove scripts directory Scripts in scripts/ directory were platform-dependent and even distribution-dependent, so they were not usable for anyone except me. That's why I removed them from repository. --- scripts/compile.sh | 4 ---- scripts/format.sh | 1 - scripts/makeiso.sh | 4 ---- scripts/start.sh | 6 ------ 4 files changed, 15 deletions(-) delete mode 100755 scripts/compile.sh delete mode 100755 scripts/format.sh delete mode 100755 scripts/makeiso.sh delete mode 100755 scripts/start.sh diff --git a/scripts/compile.sh b/scripts/compile.sh deleted file mode 100755 index 294cbdf..0000000 --- a/scripts/compile.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -../../Kompilator/cross/bin/i686-elf-as ../source/boot.s -o ../build/boot.o -../../Kompilator/cross/bin/i686-elf-gcc -c ../source/kernel.c -o ../build/kernel.o -std=gnu99 -ffreestanding -O2 -Wall -Wextra -../../Kompilator/cross/bin/i686-elf-gcc -T ../source/linker.ld -o ../build/mkos.bin -ffreestanding -O2 -nostdlib ../build/boot.o ../build/kernel.o -lgcc diff --git a/scripts/format.sh b/scripts/format.sh deleted file mode 100755 index 6379be7..0000000 --- a/scripts/format.sh +++ /dev/null @@ -1 +0,0 @@ -indent -nbad -bap -nbc -bbo -hnl -bl -bli0 -brs -c33 -cd33 -ncdb -ncdw -ci4 -cli0 -d0 -di1 -nfc1 -i8 -ip0 -l80 -lp -npcs -nprs -npsl -sai -saf -saw -ncs -nsc -sob -nfca -cp33 -ss -ts8 -il1 source/kernel.c diff --git a/scripts/makeiso.sh b/scripts/makeiso.sh deleted file mode 100755 index 2f2813e..0000000 --- a/scripts/makeiso.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -cp ../build/mkos.bin ../isodir/boot/mkos.bin -cp ../config/grub.cfg ../isodir/boot/grub/grub.cfg -grub-mkrescue -o ../build/mkos.iso ../isodir diff --git a/scripts/start.sh b/scripts/start.sh deleted file mode 100755 index 6f8ddc2..0000000 --- a/scripts/start.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -./compile.sh -./makeiso.sh -# Remove lock in case of bad shutdown, it makes debugging easier -rm ../filesystem/dysk.img.lock -bochs -f ../config/bochsrc