diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-09-10 02:58:50 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-09-10 03:12:10 +0100 |
commit | 5de37e124fd21c8f918f3fe26fc33a764709ead4 (patch) | |
tree | 8d08728258f0fbfb14db943d2a6308d1acf1a454 /src/Makefile.housekeeping | |
parent | 895d73f383f5af003ab2e5105e54c9a90b224e77 (diff) | |
download | ipxe-5de37e124fd21c8f918f3fe26fc33a764709ead4.tar.gz |
[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.housekeeping | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index c89b23b7d..1a75d3939 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 |