aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2016-05-03 13:45:28 -0600
committerMathieu Poirier <mathieu.poirier@linaro.org>2016-06-20 11:16:07 -0600
commit0951a97ed934668b87371c2d3d0c3d21659da4df (patch)
treee95699f42b87a4618eba5fc51d55e391d6ce483f /tools
parentcda8131df1fae7efc2d56967b2cc45ddf52c85b9 (diff)
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/config/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index 033d94114bab..405c1c1e2975 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -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)