2008-10-12 02:55:55 +02:00
|
|
|
# -*- makefile -*- : Force emacs to use Makefile mode
|
|
|
|
|
|
|
|
# The EFI linker script
|
|
|
|
#
|
2009-01-07 03:05:51 +01:00
|
|
|
LDSCRIPT = arch/x86/scripts/efi.lds
|
2008-10-12 02:55:55 +02:00
|
|
|
|
2009-01-07 03:05:51 +01:00
|
|
|
# Retain relocation information for elf2efi
|
2008-10-12 02:55:55 +02:00
|
|
|
#
|
2009-01-07 03:05:51 +01:00
|
|
|
LDFLAGS += -q -S
|
2008-10-12 02:55:55 +02:00
|
|
|
|
|
|
|
# Media types.
|
|
|
|
#
|
|
|
|
NON_AUTO_MEDIA += efi
|
|
|
|
|
|
|
|
# Rule for building EFI files
|
|
|
|
#
|
2009-01-07 03:05:51 +01:00
|
|
|
$(BIN)/%.efi : $(BIN)/%.efi.tmp $(ELF2EFI32)
|
2008-10-12 02:55:55 +02:00
|
|
|
$(QM)$(ECHO) " [FINISH] $@"
|
2009-01-07 03:05:51 +01:00
|
|
|
$(Q)$(ELF2EFI32) $< $@
|