summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-04-19 08:30:09 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2022-05-08 03:16:59 +0900
commita90bb65ae2168c8b36e53f82dc3cb35c6cff4f1e (patch)
tree81c20c194fb1aa5e4978308281520039df37e6a9 /scripts/dummy-tools
parent1e8ca62b79dec20aeded4fe283f4890e5016767a (diff)
scripts: dummy-tools, add pahole
CONFIG_PAHOLE_VERSION is a part of a config since the commit below. And when multiple people update the config, this value constantly changes. Even if they use dummy scripts. To fix this, add a pahole dummy script returning v99.99. (This is translated into 9999 later in the process.) Thereafter, this script can be invoked easily for example as: make PAHOLE=scripts/dummy-tools/pahole oldconfig Fixes: 613fe1692377 (kbuild: Add CONFIG_PAHOLE_VERSION) Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/dummy-tools')
-rwxr-xr-xscripts/dummy-tools/pahole4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/dummy-tools/pahole b/scripts/dummy-tools/pahole
new file mode 100755
index 000000000000..53501a36fa71
--- /dev/null
+++ b/scripts/dummy-tools/pahole
@@ -0,0 +1,4 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
+
+echo v99.99