scripts: dummy-tools, add pahole
PATCH v2 1/1 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
---
[v2] don't touch Makefile, add only the pahole script
scripts/dummy-tools/pahole | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/dummy-tools/pahole
scripts/dummy-tools/pahole new file +4 -0
@@ -0,0 +1,4 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only + +echo v99.99
Signature · 1 line
2.35.3
Quoted 10 lines · Jiri Slaby
CONFIG_PAHOLE_VERSIONis 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
Applied to linux-kbuild.
Thanks.
Quoted 26 lines
Fixes 613fe1692377 (kbuild: Add CONFIG_PAHOLE_VERSION)Cc Masahiro Yamada <[email protected]>Cc Michal Marek <[email protected]>Cc Nick Desaulniers <[email protected]>Signed-off-by Jiri Slaby <[email protected]>---
[v2] don't touchMakefile, add only the pahole scriptscripts/dummy-tools/pahole | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/dummy-tools/paholescripts/dummy-tools/pahole new file +4
-1@@ -0,0 +1,4 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only + +echo v99.99 --2.35.3
Signature · 2 lines
Best Regards Masahiro Yamada