From: Jiri Slaby <jslaby@suse.cz>
Date: Tue, 19 Apr 2022 08:30:09 +0200
Subject: scripts: dummy-tools, add pahole
Git-commit: a90bb65ae2168c8b36e53f82dc3cb35c6cff4f1e
Patch-mainline: 5.19-rc1
References: jsc#PED-1377
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>
---
scripts/dummy-tools/pahole | 4 ++++
1 file changed, 4 insertions(+)
create mode 100755 scripts/dummy-tools/pahole
diff --git a/scripts/dummy-tools/pahole b/scripts/dummy-tools/pahole
new file mode 100755
index 00000000..53501a36
--- /dev/null
+++ b/scripts/dummy-tools/pahole
@@ -0,0 +1,4 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
+
+echo v99.99
--
2.35.3