mirror of
https://github.com/tailix/loadwarka.git
synced 2024-11-11 13:50:54 -05:00
Clean before build
This commit is contained in:
parent
b71f68194b
commit
a0e1eb29fa
1 changed files with 2 additions and 0 deletions
2
build.sh
2
build.sh
|
@ -5,6 +5,8 @@ set -e
|
||||||
BIN='../cross/root/bin'
|
BIN='../cross/root/bin'
|
||||||
CROSS="$BIN/i386-elf-"
|
CROSS="$BIN/i386-elf-"
|
||||||
|
|
||||||
|
./clean.sh
|
||||||
|
|
||||||
${CROSS}gcc -c src/x86_stage1.S -o src/x86_stage1.o
|
${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}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
|
${CROSS}ld -Ttext 200000 --oformat binary -o src/x86_stage1.bin src/x86_stage1.o
|
||||||
|
|
Loading…
Reference in a new issue