[PATCH v1 3/5] Makefile: drop the dependency on hvdefconfig


Junjie Mao
 

In the top-level Makefile, the target "hypervisor" depends on "hvdefconfig"
because, at the time the latter is introduced, building without specifying
BOARD or SCENARIO is supported by using a pair of default board and
scenario XMLs.

This is no longer the case today, as BOARD and SCENARIO are now mandatory
command line options. As a result, that dependency is no longer necessary,
and this patch just removes that.

Signed-off-by: Junjie Mao <junjie.mao@...>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 253840528..69e322b34 100644
--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,7 @@ configurator:
echo -e "'yarn' or 'cargo' utility is not available. Unable to create Debian package for configurator."; \
fi

-hypervisor: hvdefconfig
+hypervisor:
$(MAKE) $(HV_MAKEOPTS)
@echo -e "ACRN Configuration Summary:" > $(HV_CFG_LOG)
@$(MAKE) showconfig $(HV_MAKEOPTS) -s >> $(HV_CFG_LOG)
--
2.30.2