Fix makefiles to rebuild ISO files if they are deleted.

This commit is contained in:
Martin Whitaker 2021-02-13 12:25:32 +00:00
parent abbee1a25f
commit 2b05b47d9b

View File

@ -121,7 +121,7 @@ esp.img: memtest.efi
/sbin/mkdosfs -n MEMTEST-ESP -F12 -C esp.img 4096
mcopy -s -i esp.img iso/EFI ::
iso: memtest.mbr floppy.img esp.img
memtest.iso: memtest.mbr floppy.img esp.img
@mkdir -p iso/boot
cp floppy.img iso/boot/floppy.img
xorrisofs -pad -R -J -volid PCMemTest64 -graft-points -hide-rr-moved --grub2-mbr memtest.mbr \
@ -129,5 +129,7 @@ iso: memtest.mbr floppy.img esp.img
-part_like_isohybrid -iso_mbr_part_type 0x00 -append_partition 2 0xef ./esp.img \
-o ./memtest.iso /boot=./iso/boot
iso: memtest.iso
clean:
rm -rf boot system lib tests app *.img *.iso memtest* iso