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 433B

12345678910111213141516171819202122
  1. # -*- makefile -*- : Force emacs to use Makefile mode
  2. # Use %rip-relative addressing wherever possible.
  3. #
  4. CFLAGS += -fpie
  5. # EFI probably doesn't guarantee us a red zone, so let's not rely on it.
  6. #
  7. CFLAGS += -mno-red-zone
  8. # Specify EFI image builder
  9. #
  10. ELF2EFI = $(ELF2EFI64)
  11. # Specify EFI boot file
  12. #
  13. EFI_BOOT_FILE = bootx64.efi
  14. # Include generic EFI Makefile
  15. #
  16. MAKEDEPS += arch/x86/Makefile.efi
  17. include arch/x86/Makefile.efi