From a0e1eb29faa51f864bb8f09d0cf936acb7340cc4 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Thu, 27 Jan 2022 05:29:05 +0500 Subject: [PATCH] Clean before build --- build.sh | 2 ++ 1 file changed, 2 insertions(+) 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