Remove old EFI harddrive target
This commit is contained in:
parent
8042c2be54
commit
23adc0ddc7
|
@ -41,14 +41,6 @@ build/bootloader.efi: bootloader-efi/build/$(EFI_TARGET)/boot.efi
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cp -v $< $@
|
cp -v $< $@
|
||||||
|
|
||||||
build/harddrive-efi-old.bin: build/bootloader.efi build/filesystem.bin
|
|
||||||
dd if=/dev/zero of=$@.partial bs=1048576 count=$$(expr $$(du -m $< | cut -f1) + 1)
|
|
||||||
mkfs.vfat $@.partial
|
|
||||||
mmd -i $@.partial efi
|
|
||||||
mmd -i $@.partial efi/boot
|
|
||||||
mcopy -i $@.partial $< ::efi/boot/bootx64.efi
|
|
||||||
cat $@.partial build/filesystem.bin > $@
|
|
||||||
|
|
||||||
build/harddrive-efi.bin: build/bootloader.efi build/filesystem.bin
|
build/harddrive-efi.bin: build/bootloader.efi build/filesystem.bin
|
||||||
# TODO: Validate the correctness of this \
|
# TODO: Validate the correctness of this \
|
||||||
# Populate an EFI system partition \
|
# Populate an EFI system partition \
|
||||||
|
|
Loading…
Reference in a new issue