From: WANG Rui Date: Tue, 14 Apr 2026 00:51:52 +0000 (+0800) Subject: perf loongarch: Fix build failure with CONFIG_LIBDW_DWARF_UNWIND X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=841dbf4871c57ce2da18c4ea7ffac5487d0eda16;p=thirdparty%2Fkernel%2Flinux.git perf loongarch: Fix build failure with CONFIG_LIBDW_DWARF_UNWIND Building perf for LoongArch fails when CONFIG_LIBDW_DWARF_UNWIND is enabled because unwind-libdw.o is still referenced in arch/loongarch/util/Build. Fixes: e62fae9d9e8 ("perf unwind-libdw: Fix a cross-arch unwinding bug") Signed-off-by: WANG Rui Acked-by: Huacai Chen Signed-off-by: Namhyung Kim --- diff --git a/tools/perf/arch/loongarch/util/Build b/tools/perf/arch/loongarch/util/Build index 3ad73d0289f3e..8d91e78d31c94 100644 --- a/tools/perf/arch/loongarch/util/Build +++ b/tools/perf/arch/loongarch/util/Build @@ -1,4 +1,3 @@ perf-util-y += header.o perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o -perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o