Makefile: fix typos and style

Remove the trailing ";" and "\" and fix a typo in install.

Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
This commit is contained in:
Miguel Bernal Marin 2018-05-16 17:59:53 -05:00 committed by lijinxia
parent ace25dd3db
commit d79d641679
1 changed files with 7 additions and 7 deletions

View File

@ -13,25 +13,25 @@ TOOLS_OUT := $(ROOT_OUT)/tools
all: hypervisor devicemodel tools
hypervisor:
make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLAT) RELEASE=$(RELEASE) clean; \
make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLAT) RELEASE=$(RELEASE) clean
make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLAT) RELEASE=$(RELEASE)
devicemodel:
make -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) clean; \
make -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) clean
make -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT)
tools:
mkdir -p $(TOOLS_OUT)
make -C $(T)/tools/acrnlog OUT_DIR=$(TOOLS_OUT);
make -C $(T)/tools/acrn-manager OUT_DIR=$(TOOLS_OUT);
make -C $(T)/tools/acrntrace OUT_DIR=$(TOOLS_OUT);
make -C $(T)/tools/acrnlog OUT_DIR=$(TOOLS_OUT)
make -C $(T)/tools/acrn-manager OUT_DIR=$(TOOLS_OUT)
make -C $(T)/tools/acrntrace OUT_DIR=$(TOOLS_OUT)
.PHONY: clean
clean:
rm -rf $(ROOT_OUT)
.PHONY: install
install: hypervisor-install devicemodel-install tools-intall
install: hypervisor-install devicemodel-install tools-install
hypervisor-install:
make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLAT) RELEASE=$(RELEASE) install
@ -39,7 +39,7 @@ hypervisor-install:
devicemodel-install:
make -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) install
tools-intall:
tools-install:
make -C $(T)/tools/acrnlog OUT_DIR=$(TOOLS_OUT) install
make -C $(T)/tools/acrn-manager OUT_DIR=$(TOOLS_OUT) install
make -C $(T)/tools/acrntrace OUT_DIR=$(TOOLS_OUT) install