From 0c44722b0ca6c1ab7d0f7af6a703361f553e4747 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 15 Nov 2024 11:52:13 -0800 Subject: [PATCH] package/linux-tools: perf: Disable shellcheck The use of shellcheck within perf is not a functional requirement and it can lead to build failures where the perf makefile attempts to link in empty .shellcheck_log files: https://lore.kernel.org/r/fb078045-dc05-426e-b21e-72ffae3e8e1b@gmail.com Disable shellcheck since we do not need it at all. Signed-off-by: Florian Fainelli Signed-off-by: Peter Korsgaard --- package/linux-tools/linux-tool-perf.mk.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in index 65aba2e9fe25..df3030439efc 100644 --- a/package/linux-tools/linux-tool-perf.mk.in +++ b/package/linux-tools/linux-tool-perf.mk.in @@ -28,7 +28,8 @@ PERF_MAKE_FLAGS = \ NO_LIBPERL=1 \ NO_LIBPYTHON=1 \ NO_LIBBIONIC=1 \ - NO_LIBTRACEEVENT=1 + NO_LIBTRACEEVENT=1 \ + NO_SHELLCHECK=1 # We need to pass an argument to ld for setting the emulation when # building for MIPS architecture, otherwise the default one will always