From 80fb9a7b20643cef4d90b21eb2038b4627a117ba Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Sun, 22 Oct 2023 13:54:19 +0000 Subject: [PATCH] Rename files from 'KernelOS' to 'KernelOS-i386' --- build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 58018dc..fa1e438 100755 --- a/build.sh +++ b/build.sh @@ -5,14 +5,14 @@ as --32 ./src/boot.s -o ./src/boot.o gcc -m32 -c ./src/kernel.c -o ./src/kernel.o -std=gnu99 -ffreestanding -O2 -Wall -Wextra #linking the kernel with kernel.o and boot.o files -ld -m elf_i386 -T ./src/linker.ld ./src/kernel.o ./src/boot.o -o ./src/KernelOS.bin -nostdlib +ld -m elf_i386 -T ./src/linker.ld ./src/kernel.o ./src/boot.o -o ./src/KernelOS-i386.bin -nostdlib #check MyOS.bin file is x86 multiboot file or not -grub-file --is-x86-multiboot ./src/KernelOS.bin +grub-file --is-x86-multiboot ./src/KernelOS-i386.bin #building the iso file mkdir -p isodir/boot/grub -cp ./src/KernelOS.bin isodir/boot/KernelOS.bin +cp ./src/KernelOS-i386.bin isodir/boot/KernelOS-i386.bin cp ./src/grub.cfg isodir/boot/grub/grub.cfg mkdir -p build -grub-mkrescue -o ./build/KernelOS.iso isodir +grub-mkrescue -o ./build/KernelOS-i386.iso isodir