summaryrefslogtreecommitdiff
path: root/mk/efi.mk
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-11-15 11:54:16 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-11-15 13:06:45 +0000
commitd87b69dccdf1a42942c277ca6b074a69b95d87c4 (patch)
tree625326f0c8ff1f32da05f962b0966fe8fd808106 /mk/efi.mk
parent4b0851493dce7cb5a6ada6e525da0bda6f5048dd (diff)
downloadsyslinux-d87b69dccdf1a42942c277ca6b074a69b95d87c4.tar.gz
firmware: Move memory operations into firmware
Instead of littering core/mem with #ifdef SYSLINUX_EFI move memory operations into the 'firmware' structure so that they can be implemented differently for BIOS and EFI. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'mk/efi.mk')
-rw-r--r--mk/efi.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/efi.mk b/mk/efi.mk
index db70ec88..b13000cb 100644
--- a/mk/efi.mk
+++ b/mk/efi.mk
@@ -32,7 +32,7 @@ FORMAT=efi-app-$(EFI_SUBARCH)
CFLAGS = -I$(EFIINC) -I$(EFIINC)/$(EFI_SUBARCH) \
-DEFI_FUNCTION_WRAPPER -fPIC -fshort-wchar -ffreestanding \
-Wall -I$(com32)/include -I$(com32)/include/sys \
- -I$(core)/include $(CARCHOPT) \
+ -I$(core)/include -I$(core)/ $(CARCHOPT) \
-I$(com32)/lib/ -I$(com32)/libutil/include -std=gnu99 -DELF_DEBUG -DSYSLINUX_EFI \
$(GCCWARN) -D__COM32__