From: Mathieu Poirier Date: Tue, 3 May 2016 19:45:28 +0000 (-0600) Subject: perf tools: fixing Makefile problems X-Git-Tag: firefly_0821_release~176^2~4^2~41^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0951a97ed934668b87371c2d3d0c3d21659da4df;p=firefly-linux-kernel-4.4.55.git 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 --- 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)