mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 02:28:57 +03:00
[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.
This commit is contained in:
@@ -1,19 +1,10 @@
|
||||
# -*- makefile -*- : Force emacs to use Makefile mode
|
||||
|
||||
# The EFI linker script
|
||||
# Specify EFI image builder
|
||||
#
|
||||
LDSCRIPT = arch/x86/scripts/efi.lds
|
||||
ELF2EFI = $(ELF2EFI32)
|
||||
|
||||
# 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 $(ELF2EFI32)
|
||||
$(QM)$(ECHO) " [FINISH] $@"
|
||||
$(Q)$(ELF2EFI32) $< $@
|
||||
MAKEDEPS += arch/x86/Makefile.efi
|
||||
include arch/x86/Makefile.efi
|
||||
|
||||
Reference in New Issue
Block a user