tools: correct several Makefile problems

1. mkdir ./tools/build if it does not exist;
2. correct static lib path for acrn-manager;
3. do not remove acrnlog.service if build under source code dir by default.

Reviewed-by: Geoffroy VanCutsem <geoffroy.vancutsem@intel.com>
Signed-off-by: Yan, Like <like.yan@intel.com>
This commit is contained in:
Yan, Like
2018-06-13 15:54:22 +08:00
committed by lijinxia
parent 0f842cd38d
commit 57d6a933f6
3 changed files with 4 additions and 2 deletions

View File

@@ -7,7 +7,9 @@ all:
clean:
rm -f $(OUT_DIR)/acrnlog
ifneq ($(OUT_DIR),.)
rm -f $(OUT_DIR)/acrnlog.service
endif
install: $(OUT_DIR)/acrnlog
install -d $(DESTDIR)/usr/bin