Bootable multiboot2 kernel

This commit is contained in:
thomas committed 2022-01-02 17:25:07 +01:00
1 parent fdcb46d6f2
commit e0979ed357
10 files changed
+107 -2

No files matched your search

+10
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