Skip to content

Commit 65bd038

Browse files
donshenglijinxia
authored andcommitted
HV: Compiling in VCPI code for partition hypervisor
V3: - Compiling in VCPI code for partition hypervisor Reviewed-by: Anthony Xu <anthony.xu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
1 parent f60fcb6 commit 65bd038

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

hypervisor/Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ INCLUDE_PATH += include/arch/x86
9595
INCLUDE_PATH += include/arch/x86/guest
9696
INCLUDE_PATH += include/debug
9797
INCLUDE_PATH += include/public
98-
INCLUDE_PATH += include/common
98+
ifeq ($(CONFIG_PARTITION_MODE),y)
99+
INCLUDE_PATH += include/dm/vpci
100+
endif
99101
INCLUDE_PATH += bsp/include
100102
INCLUDE_PATH += bsp/$(CONFIG_PLATFORM)/include/bsp
101103
INCLUDE_PATH += boot/include
@@ -171,6 +173,11 @@ ifdef STACK_PROTECTOR
171173
C_SRCS += common/stack_protector.c
172174
endif
173175

176+
ifeq ($(CONFIG_PARTITION_MODE),y)
177+
C_SRCS += $(wildcard dm/vpci/*.c)
178+
C_SRCS += $(wildcard partition/*.c)
179+
endif
180+
174181
C_SRCS += bsp/$(CONFIG_PLATFORM)/vm_description.c
175182
C_SRCS += bsp/$(CONFIG_PLATFORM)/$(CONFIG_PLATFORM).c
176183
C_SRCS += bsp/$(CONFIG_PLATFORM)/platform_acpi_info.c

0 commit comments

Comments
 (0)