summaryrefslogtreecommitdiffstats
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown2014-09-10 03:58:50 +0200
committerMichael Brown2014-09-10 04:12:10 +0200
commit5de37e124fd21c8f918f3fe26fc33a764709ead4 (patch)
tree8d08728258f0fbfb14db943d2a6308d1acf1a454 /src/Makefile.housekeeping
parent[build] Clean up all binary directories on "make [very]clean" (diff)
downloadipxe-5de37e124fd21c8f918f3fe26fc33a764709ead4.tar.gz
ipxe-5de37e124fd21c8f918f3fe26fc33a764709ead4.tar.xz
ipxe-5de37e124fd21c8f918f3fe26fc33a764709ead4.zip
[efi] Add efifatbin utility
Add utility for constructing EFI fat binaries (dual 32/64-bit binaries, usable only on Apple EFI systems). This utility is not part of the standard build process. To use it: make util/efifatbin bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.efi and then ./util/efifatbin bin-*-efi/ipxe.efi fat-ipxe.efi Requested-by: Brandon Penglase <bpenglase-ipxe@spaceservices.net> Tested-by: Brandon Penglase <bpenglase-ipxe@spaceservices.net> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r--src/Makefile.housekeeping5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index c89b23b7..1a75d393 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -1268,6 +1268,11 @@ $(EFIROM) : util/efirom.c $(MAKEDEPS)
$(Q)$(HOST_CC) $(HOST_CFLAGS) -idirafter include -o $@ $<
CLEANUP += $(EFIROM)
+$(EFIFATBIN) : util/efifatbin.c $(MAKEDEPS)
+ $(QM)$(ECHO) " [HOSTCC] $@"
+ $(Q)$(HOST_CC) $(HOST_CFLAGS) -idirafter include -o $@ $<
+CLEANUP += $(EFIFATBIN)
+
###############################################################################
#
# The ICC fixup utility