HV: Partition mode source code file layout reorg

Put partition mode board specific files under partition/$(CONFIG_BOARD)/

Tracked-On: #1852
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
This commit is contained in:
dongshen 2018-11-19 17:18:11 -08:00 committed by lijinxia
parent 031191dbcd
commit 664bc1bace
3 changed files with 2 additions and 5 deletions

View File

@ -183,7 +183,8 @@ C_SRCS += dm/hw/pci.c
C_SRCS += dm/vpci/core.c C_SRCS += dm/vpci/core.c
C_SRCS += dm/vpci/vpci.c C_SRCS += dm/vpci/vpci.c
ifeq ($(CONFIG_PARTITION_MODE),y) ifeq ($(CONFIG_PARTITION_MODE),y)
C_SRCS += $(wildcard partition/*.c) C_SRCS += partition/$(CONFIG_BOARD)/mptable.c
C_SRCS += partition/$(CONFIG_BOARD)/vm_description.c
C_SRCS += dm/vpci/partition_mode.c C_SRCS += dm/vpci/partition_mode.c
C_SRCS += dm/vpci/hostbridge.c C_SRCS += dm/vpci/hostbridge.c
C_SRCS += dm/vpci/pci_pt.c C_SRCS += dm/vpci/pci_pt.c
@ -206,10 +207,6 @@ C_SRCS += boot/sbl/abl_seed_parse.c
endif endif
endif endif
ifeq ($(CONFIG_PARTITION_MODE), y)
C_SRCS += arch/x86/guest/mptable.c
endif
# retpoline support # retpoline support
ifeq (true, $(shell [ $(GCC_MAJOR) -eq 7 ] && [ $(GCC_MINOR) -ge 3 ] && echo true)) ifeq (true, $(shell [ $(GCC_MAJOR) -eq 7 ] && [ $(GCC_MINOR) -ge 3 ] && echo true))
CFLAGS += -mindirect-branch=thunk-extern -mindirect-branch-register CFLAGS += -mindirect-branch=thunk-extern -mindirect-branch-register