summaryrefslogtreecommitdiffstats
path: root/src/arch/x86_64/Makefile.efi
blob: 0041bb8f0de34b40f8a2660a84298969adf031bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- makefile -*- : Force emacs to use Makefile mode

# Use %rip-relative addressing wherever possible.
#
CFLAGS		+= -fpie

# EFI probably doesn't guarantee us a red zone, so let's not rely on it.
#
CFLAGS		+= -mno-red-zone

# Specify EFI image builder
#
ELF2EFI		= $(ELF2EFI64)

# Specify EFI boot file
#
EFI_BOOT_FILE	= bootx64.efi

# Include generic EFI Makefile
#
MAKEDEPS	+= arch/x86/Makefile.efi
include arch/x86/Makefile.efi