summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Maiolino <[email protected]>2025-07-21 20:32:07 +0200
committerCarlos Maiolino <[email protected]>2025-07-21 20:32:07 +0200
commit192cc29e2288ec51084cb0b3572b358b50de2c95 (patch)
tree518dd8683ccb7eee20e6fccf76189ad27e88147e
parent05a32c2b36552deff0c74a2aab8de07811eb92b1 (diff)
Fix boot.bin build
Previous patch TARGET variable definition got removed. I forgot to update its users.... Signed-off-by: Carlos Maiolino <[email protected]>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index af36f24..1fb6bfb 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ all: $(BIN_TGT)
i686-elf-gcc $(FLAGS) -T ./src/linker.ld -o ./bin/kernel.bin -ffreestanding -O0 -nostdlib $(BUILD_DIR)/cemOS.o
./bin/boot.bin: $(BOOT_ASM)
- nasm -f bin $(BOOT_ASM) -o $(TARGET)
+ nasm -f bin $(BOOT_ASM) -o $(BOOT_TGT)
$(BUILD_DIR)/kernel.asm.o: ./src/kernel.asm
nasm -f elf -g ./src/kernel.asm -o $(BUILD_DIR)/kernel.asm.o
@@ -39,7 +39,7 @@ $(BUILD_DIR)/kernel.o: ./src/kernel.c
i686-elf-gcc $(INCLUDES) $(FLAGS) -std=gnu99 -c ./src/kernel.c -o $(BUILD_DIR)/kernel.o
clean:
- rm -f $(TARGET)
+ rm -f $(BOOT_TGT)
rm -f bin/kernel.bin
rm -f build/cemOS.o
rm -f build/kernel.asm.o