From b02a4b5284d542c1c8babd553ea662a28655a0ca Mon Sep 17 00:00:00 2001 From: furtest Date: Sun, 15 Mar 2026 18:05:24 +0100 Subject: [PATCH] Fix build-iso prerequisites --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 38218a7..5891c9b 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ LD := x86_64-elf-ld $(ELFFILE): $(BUILDDIR) $(OBJFILES) nasm -f elf64 src/idt/idt.S -o $(BUILDDIR)/idt_stub.o $(LD) -o $(ELFFILE) -T linker.ld $(OBJFILES) $(BUILDDIR)/idt_stub.o + # Get the symbols for debugging nm -n $(ELFFILE) | awk '$$2 ~ /[TtDdBbRr]/ {print $$1, $$3}' > symbols.map python3 symbols.py nasm -f elf64 symbols.S -o $(BUILDDIR)/symbols.o @@ -31,7 +32,7 @@ limine/limine: git clone https://github.com/limine-bootloader/limine.git --branch=v9.x-binary --depth=1 $(MAKE) -C limine -build-iso: limine/limine build +build-iso: limine/limine $(ELFFILE) rm -rf iso_root mkdir -p iso_root/boot cp -v $(ELFFILE) iso_root/boot