]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
perf build: Remove explicit reference to python 2.x devel files
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Dec 2022 17:08:20 +0000 (14:08 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Dec 2022 17:52:42 +0000 (14:52 -0300)
If the libpython feature test (tools/build/feature/test-libpython.c)
fails, then the python-devel is missing, it doesn't mattere if it is for
python2 or 3, remove that explicit 2.x reference.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config

index c21bd6010be1384ca891f02d459e9ef133ef80da..c2504c39bdcb899235352962e05684570f11bde4 100644 (file)
@@ -886,7 +886,7 @@ else
     else
 
       ifneq ($(feature-libpython), 1)
-        $(call disable-python,No 'Python.h' (for Python 2.x support) was found: disables Python support - please install python-devel/python-dev)
+        $(call disable-python,No 'Python.h' was found: disables Python support - please install python-devel/python-dev)
       else
          LDFLAGS += $(PYTHON_EMBED_LDFLAGS)
          EXTLIBS += $(PYTHON_EMBED_LIBADD)