mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-23 22:18:17 +00:00
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 <geoffroy.vancutsem@intel.com>
This commit is contained in:
parent
1d1a434a64
commit
5535f25637
2
Makefile
2
Makefile
@ -95,7 +95,7 @@ endef
|
|||||||
|
|
||||||
HV_MAKEOPTS := -C $(T)/hypervisor BOARD=$(BOARD) SCENARIO=$(SCENARIO) HV_OBJDIR=$(HV_OUT) RELEASE=$(RELEASE)
|
HV_MAKEOPTS := -C $(T)/hypervisor BOARD=$(BOARD) SCENARIO=$(SCENARIO) HV_OBJDIR=$(HV_OUT) RELEASE=$(RELEASE)
|
||||||
|
|
||||||
hypervisor:
|
hypervisor: hvdefconfig
|
||||||
$(MAKE) $(HV_MAKEOPTS)
|
$(MAKE) $(HV_MAKEOPTS)
|
||||||
@echo -e "ACRN Configuration Summary:" > $(HV_CFG_LOG)
|
@echo -e "ACRN Configuration Summary:" > $(HV_CFG_LOG)
|
||||||
@$(MAKE) showconfig $(HV_MAKEOPTS) -s >> $(HV_CFG_LOG)
|
@$(MAKE) showconfig $(HV_MAKEOPTS) -s >> $(HV_CFG_LOG)
|
||||||
|
Loading…
Reference in New Issue
Block a user