efi-stub: minor change for uefi refactor

Include these changes:
- substitute efi_context with uefi_context
- remove EFI_STUB from Kconfig
- remove EFI_

Signed-off-by: Tw <wei.tan@intel.com>
This commit is contained in:
Tw
2019-03-11 09:15:59 +08:00
committed by wenlingz
parent 9b24620e16
commit 334382f9ef
4 changed files with 9 additions and 18 deletions

View File

@@ -60,9 +60,9 @@ LDSCRIPT := $(GNUEFI_DIR)/elf_$(ARCH)_efi.lds
INCDIR := $(SYSROOT)/usr/include
CFLAGS=-I. -I.. -I../hypervisor/include/arch/x86/guest -I$(INCDIR)/efi -I$(INCDIR)/efi/$(ARCH) \
-I../hypervisor/include/public -I../hypervisor/include/lib -I../hypervisor/bsp/include/uefi \
-I../hypervisor/include/public -I../hypervisor/include/lib -I../hypervisor/bsp/include/ \
-DEFI_FUNCTION_WRAPPER -fPIC -fshort-wchar -ffreestanding \
-Wall -I../fs/ -D$(ARCH) -O2 \
-Wall -I../fs/ -D$(ARCH) -O2 -I../hypervisor/include/arch/x86 \
-include config.h
CFLAGS += -mno-mmx -mno-sse -mno-sse2 -mno-80387 -mno-fp-ret-in-387