OpenCSD splits libraries into linux64 / linux for x64 / x86 and linux-arm64 / linux-arm for arm targets.
This ensures consistency in native and cross compiling.
Ensure that if compiling perf with the decoder we follow that convention in linking.
Signed-off-by: Mike Leach mike.leach@linaro.org --- tools/perf/Makefile.config | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index ef83c37..3f811c1 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -556,8 +556,14 @@ strip-libs = $(filter-out -l%,$(1)) ifdef CSTRACE_PATH ifeq (${IS_64_BIT}, 1) CSTRACE_LNX = linux64 + ifeq (${ARCH}, arm64) + CSTRACE_LNX = linux-arm64 + endif else CSTRACE_LNX = linux + ifeq (${ARCH}, arm) + CSTRACE_LNX = linux-arm + endif endif ifeq (${DEBUG}, 1) LIBCSTRACE = -lcstraced_c_api -lcstraced