diff --git a/build.sh b/build.sh index e0d506f..90af7c6 100755 --- a/build.sh +++ b/build.sh @@ -5,6 +5,8 @@ set -e BIN='../cross/root/bin' CROSS="$BIN/i386-elf-" +./clean.sh + ${CROSS}gcc -c src/x86_stage1.S -o src/x86_stage1.o ${CROSS}gcc -c src/x86_stage2.S -o src/x86_stage2.o ${CROSS}ld -Ttext 200000 --oformat binary -o src/x86_stage1.bin src/x86_stage1.o