diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-01-13 11:50:26 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-01-13 17:58:02 +0000 |
commit | 79c0173d6df8580ea2e35fc173a5281e65d5321f (patch) | |
tree | 0320cc223756e5aa47426e4aeb6f586f9d995d96 /src/Makefile.efi | |
parent | c42f31bc8ad8ffce57b8662f902a343b1a4d3209 (diff) | |
download | ipxe-79c0173d6df8580ea2e35fc173a5281e65d5321f.tar.gz |
[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.efi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.efi b/src/Makefile.efi index 10f3fe74b..4b35381d3 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 $@ $< |