You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.efi 646B

12345678910111213141516171819202122232425262728
  1. # -*- makefile -*- : Force emacs to use Makefile mode
  2. # The EFI linker script
  3. #
  4. LDSCRIPT = arch/x86/scripts/efi.lds
  5. # Retain relocation information for elf2efi
  6. #
  7. LDFLAGS += -q -S
  8. # Media types.
  9. #
  10. NON_AUTO_MEDIA += efi
  11. NON_AUTO_MEDIA += efidrv
  12. # Rules for building EFI files
  13. #
  14. $(BIN)/%.efi : $(BIN)/%.efi.tmp $(ELF2EFI)
  15. $(QM)$(ECHO) " [FINISH] $@"
  16. $(Q)$(ELF2EFI) --subsystem=10 $< $@
  17. $(BIN)/%.efidrv : $(BIN)/%.efidrv.tmp $(ELF2EFI)
  18. $(QM)$(ECHO) " [FINISH] $@"
  19. $(Q)$(ELF2EFI) --subsystem=11 $< $@
  20. $(BIN)/%.efirom : $(BIN)/%.efidrv $(EFIROM)
  21. $(QM)$(ECHO) " [FINISH] $@"
  22. $(Q)$(EFIROM) -v $(TGT_PCI_VENDOR) -d $(TGT_PCI_DEVICE) $< $@