From 52d2b0954af95230d6535517820b5cc141e7f3d1 Mon Sep 17 00:00:00 2001 From: Geoffroy Van Cutsem Date: Wed, 3 Mar 2021 15:07:34 +0100 Subject: [PATCH] Makefile: create top-level target for the ACRN life_mngr The ACRN life_mngr is not built by default as it is a component that will run in the User VM. Instead we create a 'life_mngr' (and 'life_mngr-install') targets to build it individually from the top-level folder. Tracked-On: #5660 Signed-off-by: Geoffroy Van Cutsem --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b50a17f46..774f61ccf 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ HV_CFG_LOG = $(HV_OUT)/cfg.log VM_CONFIGS_DIR = $(T)/misc/config_tools ASL_COMPILER ?= $(shell which iasl) -.PHONY: all hypervisor devicemodel tools doc +.PHONY: all hypervisor devicemodel tools life_mngr doc all: hypervisor devicemodel tools @cat $(HV_CFG_LOG) @@ -121,6 +121,10 @@ tools: mkdir -p $(TOOLS_OUT) $(MAKE) -C $(T)/misc OUT_DIR=$(TOOLS_OUT) RELEASE=$(RELEASE) +life_mngr: + mkdir -p $(TOOLS_OUT) + $(MAKE) -C $(T)/misc OUT_DIR=$(TOOLS_OUT) RELEASE=$(RELEASE) life_mngr + doc: $(MAKE) -C $(T)/doc html BUILDDIR=$(DOC_OUT) @@ -130,7 +134,7 @@ clean: $(MAKE) -C $(T)/doc BUILDDIR=$(DOC_OUT) clean rm -rf $(ROOT_OUT) -.PHONY: install +.PHONY: install life_mngr-install install: hypervisor-install devicemodel-install tools-install hypervisor-install: @@ -168,3 +172,6 @@ devicemodel-install: tools-install: $(MAKE) -C $(T)/misc OUT_DIR=$(TOOLS_OUT) RELEASE=$(RELEASE) install + +life_mngr-install: + $(MAKE) -C $(T)/misc OUT_DIR=$(TOOLS_OUT) RELEASE=$(RELEASE) acrn-life-mngr-install