tools: acrn-crashlog: compile without telemetrics client

Define a macro HAVE_TELEMETRICS_CLIENT to distinguish the compiling
environment which is not include telemetrics client.

Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com>
Reviewed-by: Jack Ren <jack.ren@intel.com>
This commit is contained in:
Liu, Xinwu
2018-05-23 19:33:59 +08:00
committed by Jack Ren
parent a9e36bdb4e
commit 05927b1592
5 changed files with 22 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ MINOR_VERSION=0
BASEDIR := $(shell pwd)
LIBS = -lpthread -lxml2 -lcrypto -lrt $(SYSTEMD_LIBS) -ltelemetry
LIBS = -lpthread -lxml2 -lcrypto -lrt $(EXTRA_LIBS)
INCLUDE += -I $(BASEDIR)/include -I /usr/include/libxml2
CFLAGS += $(INCLUDE)
CFLAGS += -g -O0 -std=gnu11