From a32d7b9646954ad3aea667ce4a57e4ec7510cc66 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 15 Jun 2021 13:27:25 +0200 Subject: [PATCH] d/rules: build perf with python3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit python2 is gone with bullseye Signed-off-by: Fabian Grünbichler --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index ec22136..0bd8eb5 100755 --- a/debian/rules +++ b/debian/rules @@ -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' -- 2.39.5