Bootable multiboot2 kernel

This commit is contained in:
2022-01-02 17:25:07 +01:00
parent fdcb46d6f2
commit e0979ed357
10 changed files with 107 additions and 2 deletions

View File

@@ -7,8 +7,18 @@ SYSROOT := $(BUILDROOT)/sysroot
DIST := $(BUILDROOT)/dist/mittos.iso
$(DIST):
setup-grub.sh
grub-mkrescue -o $@ $(SYSROOT)
kernel:
ifeq ($(shell make -sqC src/kernel || echo 1), 1)
$(MAKE) -C src/kernel install
endif
install: $(DIST)
clean:
rm -rf $(DIST)
$(MAKE) -C src/kernel clean
.PHONY: install