perf tools: fixing Makefile problems

This patch is fixing the ifeq condition to get the debug or release
version of the openCSD libraries.  It also fix a naming typo when
release libraries are southg.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
This commit is contained in:
Mathieu Poirier
2016-05-03 13:45:28 -06:00
parent cda8131df1
commit 0951a97ed9

View File

@@ -439,11 +439,11 @@ ifdef CSTRACE_PATH
else
CSTRACE_LNX = linux
endif
ifdef DEBUG
ifeq (${DEBUG}, 1)
LIBCSTRACE = -lcstraced_c_api -lcstraced
CSTRACE_LIB_PATH = $(CSTRACE_PATH)/lib/$(CSTRACE_LNX)/dbg
else
LIBCSTRACE = -lcstrace_c_api -lcstrace
LIBCSTRACE = -lcstraced_c_api -lcstraced
CSTRACE_LIB_PATH = $(CSTRACE_PATH)/lib/$(CSTRACE_LNX)/rel
endif
$(call detected,CSTRACE)