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:
parent
031191dbcd
commit
664bc1bace
|
@ -183,7 +183,8 @@ C_SRCS += dm/hw/pci.c
|
|||
C_SRCS += dm/vpci/core.c
|
||||
C_SRCS += dm/vpci/vpci.c
|
||||
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/hostbridge.c
|
||||
C_SRCS += dm/vpci/pci_pt.c
|
||||
|
@ -206,10 +207,6 @@ C_SRCS += boot/sbl/abl_seed_parse.c
|
|||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PARTITION_MODE), y)
|
||||
C_SRCS += arch/x86/guest/mptable.c
|
||||
endif
|
||||
|
||||
# retpoline support
|
||||
ifeq (true, $(shell [ $(GCC_MAJOR) -eq 7 ] && [ $(GCC_MINOR) -ge 3 ] && echo true))
|
||||
CFLAGS += -mindirect-branch=thunk-extern -mindirect-branch-register
|
||||
|
|
Loading…
Reference in New Issue