twx-linux/tools
Suleiman Souhlal 37a75cd83d tools/resolve_btfids: Fix build when cross compiling kernel with clang.
commit a298bbab903e3fb4cbe16d36d6195e68fad1b776 upstream.

When cross compiling the kernel with clang, we need to override
CLANG_CROSS_FLAGS when preparing the step libraries.

Prior to commit d1d096312176 ("tools: fix annoying "mkdir -p ..." logs
when building tools in parallel"), MAKEFLAGS would have been set to a
value that wouldn't set a value for CLANG_CROSS_FLAGS, hiding the
fact that we weren't properly overriding it.

Fixes: 56a2df7615fa ("tools/resolve_btfids: Compile resolve_btfids as host program")
Signed-off-by: Suleiman Souhlal <suleiman@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/bpf/20250606074538.1608546-1-suleiman@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-06-19 15:28:44 +02:00
..
accounting
arch tools/x86/kcpuid: Fix error handling 2025-06-19 15:28:01 +02:00
bootconfig tools/bootconfig: Fix the wrong format specifier 2025-02-08 09:52:28 +01:00
bpf tools/resolve_btfids: Fix build when cross compiling kernel with clang. 2025-06-19 15:28:44 +02:00
build tools/build: Don't pass test log files to linker 2025-06-04 14:41:56 +02:00
certs
cgroup
counter
crypto/ccp
debugging
edid
firewire
firmware
gpio
hv tools: hv: change permissions of NetworkManager configuration file 2024-12-27 13:58:46 +01:00
iio
include bpf: Allow pre-ordering for bpf cgroup progs 2025-06-04 14:41:58 +02:00
kvm/kvm_stat
laptop
leds
lib libbpf: Use proper errno value in nlattr 2025-06-19 15:28:15 +02:00
memory-model
mm tools/mm: fix compile error 2024-11-22 15:38:33 +01:00
net/ynl tools: ynl-gen: validate 0 len strings from kernel 2025-06-04 14:42:16 +02:00
objtool objtool: Fix error handling inconsistencies in check() 2025-06-04 14:41:58 +02:00
pci
pcmcia
perf perf trace: Always print return value for syscalls returning a pid 2025-06-19 15:28:28 +02:00
power pm: cpupower: bench: Prevent NULL dereference on malloc failure 2025-04-25 10:45:10 +02:00
rcu
scripts tools: Override makefile ARCH variable if defined, but empty 2024-12-14 19:59:49 +01:00
spi
testing selftests/bpf: Fix bpf_nf selftest failure 2025-06-19 15:28:09 +02:00
thermal
time
tracing rtla/timerlat_top: Set OSNOISE_WORKLOAD for kernel threads 2025-03-07 16:45:49 +01:00
usb usbip: tools: Fix detach_port() invalid port error path 2024-11-08 16:28:22 +01:00
verification verification/dot2: Improve dot parser robustness 2024-12-14 20:00:13 +01:00
virtio
wmi
workqueue
Makefile