Clean before build

This commit is contained in:
Alex Kotov 2022-01-27 05:29:05 +05:00
parent b71f68194b
commit a0e1eb29fa
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 2 additions and 0 deletions

View File

@ -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