diff options
author | dzwdz | 2021-07-09 16:08:59 +0200 |
---|---|---|
committer | dzwdz | 2021-07-09 16:08:59 +0200 |
commit | 9b851331995c84f9548eba05e51b47656cb83deb (patch) | |
tree | dab7c1c3af8ba8616c5670b88138e3a07e332c79 /Makefile | |
parent | 5ee08673199299769549f996a83c326c833801dc (diff) |
support building .iso images
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -22,6 +22,13 @@ clean: rm -vf kernel.bin rm -vf **/*.o +boot.iso: kernel.bin grub.cfg + mkdir iso_tmp + mkdir -p iso_tmp/boot/grub + cp kernel.bin iso_tmp/boot + cp grub.cfg iso_tmp/boot/grub + grub-mkrescue -o $@ iso_tmp + rm -rv iso_tmp kernel.bin: $(OBJ) $(CC) $(LFLAGS) -T linker.ld $^ -o $@ |