From 0951a97ed934668b87371c2d3d0c3d21659da4df Mon Sep 17 00:00:00 2001 From: Mathieu Poirier Date: Tue, 3 May 2016 13:45:28 -0600 Subject: [PATCH] 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 --- tools/perf/config/Makefile | 4 ++-- 1 file 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) -- 2.34.1