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.
@@ -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
