Skip to content

Commit 07fdbee

Browse files
rdnaborkmann
authored andcommitted
tools/bpf: Allow overriding llvm tools for runqslower
tools/testing/selftests/bpf/Makefile supports overriding clang, llc and other tools so that custom ones can be used instead of those from PATH. It's convinient and heavily used by some users. Apply same rules to runqslower/Makefile. Signed-off-by: Andrey Ignatov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent e9f02a8 commit 07fdbee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/bpf/runqslower/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
22
OUTPUT := .output
3-
CLANG := clang
4-
LLC := llc
5-
LLVM_STRIP := llvm-strip
3+
CLANG ?= clang
4+
LLC ?= llc
5+
LLVM_STRIP ?= llvm-strip
66
DEFAULT_BPFTOOL := $(OUTPUT)/sbin/bpftool
77
BPFTOOL ?= $(DEFAULT_BPFTOOL)
88
LIBBPF_SRC := $(abspath ../../lib/bpf)

0 commit comments

Comments
 (0)