summaryrefslogtreecommitdiffstats
path: root/src/Makefile.efi
diff options
context:
space:
mode:
authorMichael Brown2023-06-30 11:31:52 +0200
committerMichael Brown2023-06-30 11:31:52 +0200
commit2524a60550b7b81d32447782e42485997b9af175 (patch)
tree26ed9885731a1a4b6275ac39f5c67f700ad10494 /src/Makefile.efi
parent[loong64] Add support for building EFI binaries (diff)
downloadipxe-2524a60550b7b81d32447782e42485997b9af175.tar.gz
ipxe-2524a60550b7b81d32447782e42485997b9af175.tar.xz
ipxe-2524a60550b7b81d32447782e42485997b9af175.zip
[build] Avoid using multiple target patterns in pattern rules
Multiple target patterns in pattern rules are treated as grouped targets regardless of the separator character. Newer verions of make will generate "warning: pattern recipe did not update peer target" to warn that the rule was expected to update all of the (implicitly) grouped targets. Fix by splitting all multiple target pattern rules into single target pattern rules. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.efi')
-rw-r--r--src/Makefile.efi6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.efi b/src/Makefile.efi
index bd479b3d..6e8ad46b 100644
--- a/src/Makefile.efi
+++ b/src/Makefile.efi
@@ -50,6 +50,10 @@ $(BIN)/efidrv.cab : $(BIN)/alldrv.efis # $(ALL_drv.efi) is not yet defined
$(QM)$(ECHO) " [CAB] $@"
$(Q)$(LCAB) -n -q $(ALL_drv.efi) $@
-$(BIN)/%.iso $(BIN)/%.usb : $(BIN)/%.efi util/genfsimg
+$(BIN)/%.iso : $(BIN)/%.efi util/genfsimg
+ $(QM)$(ECHO) " [GENFSIMG] $@"
+ $(Q)util/genfsimg -o $@ $<
+
+$(BIN)/%.usb : $(BIN)/%.efi util/genfsimg
$(QM)$(ECHO) " [GENFSIMG] $@"
$(Q)util/genfsimg -o $@ $<