summaryrefslogtreecommitdiffstats
path: root/src/Makefile.efi
diff options
context:
space:
mode:
authorMichael Brown2021-01-13 12:50:26 +0100
committerMichael Brown2021-01-13 18:58:02 +0100
commit79c0173d6df8580ea2e35fc173a5281e65d5321f (patch)
tree0320cc223756e5aa47426e4aeb6f586f9d995d96 /src/Makefile.efi
parent[xhci] Avoid false positive Coverity warning (diff)
downloadipxe-79c0173d6df8580ea2e35fc173a5281e65d5321f.tar.gz
ipxe-79c0173d6df8580ea2e35fc173a5281e65d5321f.tar.xz
ipxe-79c0173d6df8580ea2e35fc173a5281e65d5321f.zip
[build] Create util/genfsimg for building filesystem-based images
Generalise util/geniso, util/gensdsk, and util/genefidsk to create a single script util/genfsimg that can be used to build either FAT filesystem images or ISO images. Extend the functionality to allow for building multi-architecture UEFI bootable ISO images and combined BIOS+UEFI images. For example: ./util/genfsimg -o combined.iso \ bin-x86_64-efi/ipxe.efi \ bin-arm64-efi/ipxe.efi \ bin/ipxe.lkrn would generate a hybrid image that could be used as a CDROM (or hard disk or USB key) on legacy BIOS, x86_64 UEFI, or ARM64 UEFI. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.efi')
-rw-r--r--src/Makefile.efi6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.efi b/src/Makefile.efi
index 10f3fe74..4b35381d 100644
--- a/src/Makefile.efi
+++ b/src/Makefile.efi
@@ -49,6 +49,6 @@ $(BIN)/efidrv.cab : $(BIN)/alldrv.efis # $(ALL_drv.efi) is not yet defined
$(QM)$(ECHO) " [CAB] $@"
$(Q)$(LCAB) -n -q $(ALL_drv.efi) $@
-$(BIN)/%.usb : $(BIN)/%.efi
- $(QM)$(ECHO) " [GENEFIDSK] $@"
- $(Q)bash util/genefidsk -o $@ -b $(EFI_BOOT_FILE) $<
+$(BIN)/%.iso $(BIN)/%.usb : $(BIN)/%.efi util/genfsimg
+ $(QM)$(ECHO) " [GENFSIMG] $@"
+ $(Q)util/genfsimg -o $@ $<