]> git.proxmox.com Git - pve-kernel.git/commitdiff
d/rules: build perf with python3
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 15 Jun 2021 11:27:25 +0000 (13:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 15 Jun 2021 12:31:10 +0000 (14:31 +0200)
python2 is gone with bullseye

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
debian/rules

index ec22136f7179ed1d909fdc8205c7ba97e24acd90..0bd8eb5524c807e9f324033a3e39a7c2f6f88c71 100755 (executable)
@@ -157,7 +157,7 @@ binary: install
        touch $@
 
 .tools_compile_mark: .compile_mark
-       ${MAKE} -C ${KERNEL_SRC}/tools/perf prefix=/usr HAVE_NO_LIBBFD=1 HAVE_CPLUS_DEMANGLE_SUPPORT=1 NO_LIBPYTHON=1 NO_LIBPERL=1 NO_LIBCRYPTO=1 PYTHON=python2.7
+       ${MAKE} -C ${KERNEL_SRC}/tools/perf prefix=/usr HAVE_NO_LIBBFD=1 HAVE_CPLUS_DEMANGLE_SUPPORT=1 NO_LIBPYTHON=1 NO_LIBPERL=1 NO_LIBCRYPTO=1 PYTHON=python3
        echo "checking GPL-2 only perf binary for library linkage with incompatible licenses.."
        ! ldd ${KERNEL_SRC}/tools/perf/perf | grep -q -E '\blibbfd'
        ! ldd ${KERNEL_SRC}/tools/perf/perf | grep -q -E '\blibcrypto'