mirror of
https://github.com/tailix/loadwarka.git
synced 2024-12-09 14:08:20 -05:00
Move files
This commit is contained in:
parent
ca7ed49b3d
commit
c9f18142e9
6 changed files with 7 additions and 7 deletions
12
build.sh
12
build.sh
|
@ -7,9 +7,9 @@ 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 -Tsrc/x86_stage1.ld -o src/x86_stage1.bin src/x86_stage1.o
|
||||
${CROSS}ld -Tsrc/x86_stage2.ld -o src/x86_stage2.bin src/x86_stage2.o
|
||||
./testyboot mbr mbr.bin src/x86_stage1.bin
|
||||
cat mbr.bin src/x86_stage2.bin > disk.img
|
||||
${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 -Tsrc/x86/stage1.ld -o src/x86/stage1.bin src/x86/stage1.o
|
||||
${CROSS}ld -Tsrc/x86/stage2.ld -o src/x86/stage2.bin src/x86/stage2.o
|
||||
./testyboot mbr mbr.bin src/x86/stage1.bin
|
||||
cat mbr.bin src/x86/stage2.bin > disk.img
|
||||
|
|
2
clean.sh
2
clean.sh
|
@ -2,4 +2,4 @@
|
|||
|
||||
set -e
|
||||
|
||||
rm -fv disk.img mbr.bin src/*.bin src/*.o
|
||||
rm -fv disk.img mbr.bin src/*.o src/x86/*.bin src/x86/*.o
|
||||
|
|
Loading…
Reference in a new issue