From 65bd03865010c4fc6a1903ee13ec8a5504e6dcf7 Mon Sep 17 00:00:00 2001 From: dongshen Date: Tue, 7 Aug 2018 18:07:03 -0700 Subject: [PATCH] HV: Compiling in VCPI code for partition hypervisor V3: - Compiling in VCPI code for partition hypervisor Reviewed-by: Anthony Xu Acked-by: Anthony Xu Signed-off-by: dongshen --- hypervisor/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hypervisor/Makefile b/hypervisor/Makefile index f574d1256..b4fa7ae3f 100644 --- a/hypervisor/Makefile +++ b/hypervisor/Makefile @@ -95,7 +95,9 @@ INCLUDE_PATH += include/arch/x86 INCLUDE_PATH += include/arch/x86/guest INCLUDE_PATH += include/debug INCLUDE_PATH += include/public -INCLUDE_PATH += include/common +ifeq ($(CONFIG_PARTITION_MODE),y) +INCLUDE_PATH += include/dm/vpci +endif INCLUDE_PATH += bsp/include INCLUDE_PATH += bsp/$(CONFIG_PLATFORM)/include/bsp INCLUDE_PATH += boot/include @@ -171,6 +173,11 @@ ifdef STACK_PROTECTOR C_SRCS += common/stack_protector.c endif +ifeq ($(CONFIG_PARTITION_MODE),y) +C_SRCS += $(wildcard dm/vpci/*.c) +C_SRCS += $(wildcard partition/*.c) +endif + C_SRCS += bsp/$(CONFIG_PLATFORM)/vm_description.c C_SRCS += bsp/$(CONFIG_PLATFORM)/$(CONFIG_PLATFORM).c C_SRCS += bsp/$(CONFIG_PLATFORM)/platform_acpi_info.c