Add toolchain rule

This commit is contained in:
xamidev
2024-08-15 15:27:53 +02:00
parent e17b428bcc
commit 6e162fc365
2 changed files with 5 additions and 1 deletions

View File

@@ -31,6 +31,10 @@ $(OBJ_DIR)/%.o: $(SRC_DIR)/%.c
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.s
$(AS) $(ASFLAGS) $< -o $@
toolchain:
wget https://newos.org/toolchains/i386-elf-7.5.0-Linux-x86_64.tar.xz
tar xf i386-elf-7.5.0-Linux-x86_64.tar.xz
os.iso: kernel.elf
cp kernel.elf iso/boot/kernel.elf
genisoimage -R \