diff options
| author | Michael Brown | 2009-01-08 00:43:26 +0100 |
|---|---|---|
| committer | Michael Brown | 2009-01-08 00:43:26 +0100 |
| commit | 765efac771c07c38c27d971602d8c8c2becf0821 (patch) | |
| tree | 9802e7e1285e5d2b232576875a043fbc893c6e5c /src/arch/x86_64 | |
| parent | [efi] Use elf2efi utility in place of efilink (diff) | |
| download | ipxe-765efac771c07c38c27d971602d8c8c2becf0821.tar.gz ipxe-765efac771c07c38c27d971602d8c8c2becf0821.tar.xz ipxe-765efac771c07c38c27d971602d8c8c2becf0821.zip | |
[efi] Allow for .efidrv images as well as .efi images
Merge in the changes that allow for building EFI driver images (that
can be loaded using the EFI shell's "load" command) as well as EFI
applications.
Diffstat (limited to 'src/arch/x86_64')
| -rw-r--r-- | src/arch/x86_64/Makefile.efi | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/arch/x86_64/Makefile.efi b/src/arch/x86_64/Makefile.efi index 928f5e92a..26b712780 100644 --- a/src/arch/x86_64/Makefile.efi +++ b/src/arch/x86_64/Makefile.efi @@ -4,20 +4,11 @@ # CFLAGS += -mno-red-zone -# The EFI linker script +# Specify EFI image builder # -LDSCRIPT = arch/x86/scripts/efi.lds +ELF2EFI = $(ELF2EFI64) -# Retain relocation information for elf2efi +# Include generic EFI Makefile # -LDFLAGS += -q -S - -# Media types. -# -NON_AUTO_MEDIA += efi - -# Rule for building EFI files -# -$(BIN)/%.efi : $(BIN)/%.efi.tmp $(ELF2EFI64) - $(QM)$(ECHO) " [FINISH] $@" - $(Q)$(ELF2EFI64) $< $@ +MAKEDEPS += arch/x86/Makefile.efi +include arch/x86/Makefile.efi |
