From 5535f25637a830687260d0f3cdf04cc49f2544b0 Mon Sep 17 00:00:00 2001 From: Geoffroy Van Cutsem Date: Thu, 25 Mar 2021 16:44:04 +0100 Subject: [PATCH] Makefile: add pre-requisite before building the hypervisor Add the 'hvdefconfig' as a pre-requisite before building the hypervisor. This solves the problem when using multiple parallel threads (i.e. "make -j2"). Tracked-On: #5874 Signed-off-by: Geoffroy Van Cutsem --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b24072804..b50a17f46 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ endef HV_MAKEOPTS := -C $(T)/hypervisor BOARD=$(BOARD) SCENARIO=$(SCENARIO) HV_OBJDIR=$(HV_OUT) RELEASE=$(RELEASE) -hypervisor: +hypervisor: hvdefconfig $(MAKE) $(HV_MAKEOPTS) @echo -e "ACRN Configuration Summary:" > $(HV_CFG_LOG) @$(MAKE) showconfig $(HV_MAKEOPTS) -s >> $(HV_CFG_LOG)