Skip to content

Commit

Permalink
scripts: dummy-tools, add pahole
Browse files Browse the repository at this point in the history
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: 613fe16 (kbuild: Add CONFIG_PAHOLE_VERSION)
Signed-off-by: Jiri Slaby <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
Jiri Slaby authored and masahir0y committed May 7, 2022
1 parent 1e8ca62 commit a90bb65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/dummy-tools/pahole
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-only

echo v99.99

0 comments on commit a90bb65

Please sign in to comment.