build: Ensure that limine-eltorito-efi.bin gets rebuilt when necessary
This commit is contained in:
parent
c89644b3d1
commit
5543f60954
2
Makefile
2
Makefile
|
@ -36,7 +36,7 @@ limine-bios: stage23-bios decompressor
|
||||||
cd stage1/pxe && nasm bootsect.asm -fbin -o ../../bin/limine-pxe.bin
|
cd stage1/pxe && nasm bootsect.asm -fbin -o ../../bin/limine-pxe.bin
|
||||||
cp build/stage23-bios/limine.sys ./bin/
|
cp build/stage23-bios/limine.sys ./bin/
|
||||||
|
|
||||||
bin/limine-eltorito-efi.bin:
|
bin/limine-eltorito-efi.bin: bin/BOOTX64.EFI
|
||||||
dd if=/dev/zero of=$@ bs=512 count=2880
|
dd if=/dev/zero of=$@ bs=512 count=2880
|
||||||
mformat -i $@ -f 1440 ::
|
mformat -i $@ -f 1440 ::
|
||||||
mmd -D s -i $@ ::/EFI
|
mmd -D s -i $@ ::/EFI
|
||||||
|
|
Loading…
Reference in New Issue