tmp_suning_uos_patched/tools
Yonghong Song 475312897e tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
commit f62700ce63a315b4607cc9e97aa15ea409a677b9 upstream.

selftests/bpf/Makefile includes tools/scripts/Makefile.include.
With the following command
  make -j60 LLVM=1 LLVM_IAS=1  <=== compile kernel
  make -j60 -C tools/testing/selftests/bpf LLVM=1 LLVM_IAS=1 V=1
some files are still compiled with gcc. This patch
fixed the case if CC/AR/LD/CXX/STRIP is allowed to be
overridden, it will be written to clang/llvm-ar/..., instead of
gcc binaries. The definition of CC_NO_CLANG is also relocated
to the place after the above CC is defined.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210413153419.3028165-1-yhs@fb.com
Cc: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-31 08:16:10 +02:00
..
accounting
arch
bootconfig tools/bootconfig: Fix error return code in apply_xbc() 2021-06-16 12:01:45 +02:00
bpf bpftool: Check malloc return value in mount_bpffs_for_pin 2021-07-28 14:35:37 +02:00
build
cgroup
debugging
edid
firewire
firmware
gpio
hv
iio
include tools headers UAPI: Sync linux/in.h copy with the kernel sources 2021-06-23 14:42:54 +02:00
io_uring
kvm/kvm_stat
laptop
leds
lib libbpf: Fixes incorrect rx_ring_setup_done 2021-06-23 14:42:41 +02:00
memory-model
objtool
pci
pcmcia
perf perf inject: Close inject.output on exit 2021-07-28 14:35:48 +02:00
power tweewide: Fix most Shebang lines 2021-05-22 11:40:55 +02:00
scripts tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include 2021-07-31 08:16:10 +02:00
spi
testing selftest: use mmap instead of posix_memalign to allocate memory 2021-07-28 14:35:46 +02:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile