summaryrefslogtreecommitdiffstats
path: root/src/arch/x86_64/Makefile.efi
blob: f38375607b74de9831f6b70ce565cd790600ecc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- 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)

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