Skip to content

Commit 0951a97

Browse files
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>
1 parent cda8131 commit 0951a97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/perf/config/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,11 +439,11 @@ ifdef CSTRACE_PATH
439439
else
440440
CSTRACE_LNX = linux
441441
endif
442-
ifdef DEBUG
442+
ifeq (${DEBUG}, 1)
443443
LIBCSTRACE = -lcstraced_c_api -lcstraced
444444
CSTRACE_LIB_PATH = $(CSTRACE_PATH)/lib/$(CSTRACE_LNX)/dbg
445445
else
446-
LIBCSTRACE = -lcstrace_c_api -lcstrace
446+
LIBCSTRACE = -lcstraced_c_api -lcstraced
447447
CSTRACE_LIB_PATH = $(CSTRACE_PATH)/lib/$(CSTRACE_LNX)/rel
448448
endif
449449
$(call detected,CSTRACE)

0 commit comments

Comments
 (0)