perf: fix build on PowerPC
authorStijn Tintel <stijn@linux-ipv6.be>
Fri, 26 Apr 2024 11:41:28 +0000 (14:41 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Fri, 26 Apr 2024 12:19:48 +0000 (15:19 +0300)
commitf4346438577d8f6d830dff5167e4a78a670e7179
tree7f38ded3dde66bd3089b74cf84d4067acdd281d7
parentf10d55df9e0a2622d4b2d08b79b9a8c9c585cfef
perf: fix build on PowerPC

Building perf's intel-pt-decoder fails on both PPC32 and PPC64:

/home/stijn/Development/OpenWrt/openwrt/staging_dir/toolchain-powerpc64_e5500_gcc-13.2.0_musl/lib/gcc/powerpc64-openwrt-linux-musl/13.2.0/../../../../powerpc64-openwrt-linux-musl/bin/ld.bfd:
/home/stijn/Development/OpenWrt/openwrt/build_dir/target-powerpc64_e5500_musl/linux-qoriq_generic/linux-6.1.86/tools/
perf-target-powerpc64_e5500_musl/perf-in.o: in function `insn_set_byte':
/home/stijn/Development/OpenWrt/openwrt/build_dir/target-powerpc64_e5500_musl/linux-qoriq_generic/linux-6.1.86/tools/perf/util/intel-pt-decoder/../../../arch/x86/include/asm/insn.h:64:
undefined reference to `__le32_to_cpu'

Add NO_AUXTRACE=1 to MAKE_FLAGS for LINUX_KARCH powerpc, which disables
build of intel-pt-decoder on both PPC32 and PPC64.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
package/devel/perf/Makefile