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>
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)