mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2024-11-23 22:36: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
|
done
|
||||||
|
|
||||||
# Compile the assembly file
|
# Compile the assembly file
|
||||||
echo "Compiling boot4.asm..."
|
echo "Compiling boot.asm..."
|
||||||
nasm -f elf32 boot4.asm -o boot4.o
|
nasm -f elf32 boot.asm -o boot.o
|
||||||
|
|
||||||
# Compile and link the kernel
|
# Compile and link the kernel
|
||||||
echo "Compiling and linking 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
|
# Check if compilation was successful
|
||||||
if [ -f kernel.bin ]; then
|
if [ -f kernel.bin ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user