mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2024-11-21 05:46:52 -08:00
fixing build.sh changed boot4 to boot to reflect filenames correctly
This commit is contained in:
parent
3759ce86b5
commit
2f55de96a2
6
build.sh
6
build.sh
@ -17,12 +17,12 @@ for cmd in nasm gcc qemu-system-i386; do
|
||||
done
|
||||
|
||||
# Compile the assembly file
|
||||
echo "Compiling boot4.asm..."
|
||||
nasm -f elf32 boot4.asm -o boot4.o
|
||||
echo "Compiling boot.asm..."
|
||||
nasm -f elf32 boot.asm -o boot.o
|
||||
|
||||
# Compile and link the kernel
|
||||
echo "Compiling and linking kernel..."
|
||||
gcc -m32 -ffreestanding -nostdlib kernel.c boot4.o -o kernel.bin -T linker.ld
|
||||
gcc -m32 -ffreestanding -nostdlib kernel.c boot.o -o kernel.bin -T linker.ld
|
||||
|
||||
# Check if compilation was successful
|
||||
if [ -f kernel.bin ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user