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,7 @@ ifeq ($(RELEASE),0)
CFLAGS += -g -DMNGR_DEBUG
endif
LDFLAGS := -L$(TOOLS_OUT)
LDFLAGS := -L$(OUT_DIR)
LDFLAGS += -lacrn-mngr
LDFLAGS += -lpthread