[PATCH 1/2] perf build: Fix confusing "No python interpreter needed" message

Geert Uytterhoeven posted 2 patches 3 months, 3 weeks ago
[PATCH 1/2] perf build: Fix confusing "No python interpreter needed" message
Posted by Geert Uytterhoeven 3 months, 3 weeks ago
When python is not installed, the error message sounds like python is
not a dependency, while it is.  Reword to make this clear.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 tools/perf/Makefile.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index 5700516aa84aec2c..a6448a804ee53a36 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -915,7 +915,7 @@ endif
 ifneq ($(NO_JEVENTS),1)
   NO_JEVENTS := 0
   ifndef PYTHON
-    $(error ERROR: No python interpreter needed for jevents generation. Install python or build with NO_JEVENTS=1.)
+    $(error ERROR: No python interpreter found for jevents generation. Install python or build with NO_JEVENTS=1.)
   else
     # jevents.py uses f-strings present in Python 3.6 released in Dec. 2016.
     JEVENTS_PYTHON_GOOD := $(shell $(PYTHON) -c 'import sys;print("1" if(sys.version_info.major >= 3 and sys.version_info.minor >= 6) else "0")' 2> /dev/null)
-- 
2.43.0