new file mode 100644
@@ -0,0 +1,16 @@
+--- a/tools/perf/Makefile.perf
++++ b/tools/perf/Makefile.perf
+@@ -829,10 +829,10 @@
+
+ install-bin: install-tools install-tests install-traceevent-plugins
+
+-install: install-bin try-install-man
+-
+ install-python_ext:
+- $(PYTHON_WORD) util/setup.py --quiet install --root='/$(DESTDIR_SQ)'
++ $(PYTHON_WORD) util/setup.py --quiet install --root='/$(DESTDIR_SQ)' --install-layout=deb;
++
++install: install-bin try-install-man install-python_ext
+
+ # 'make install-doc' should call 'make -C Documentation install'
+ $(INSTALL_DOC_TARGETS):
@@ -34,6 +34,7 @@ KERNEL_PERF_COMPAT = "nopackage"
KERNEL_PERF_PATCHES[4.19] ?= " \
file://patches/perf/4.19/tools-perf-version.patch \
file://patches/perf/4.19/tools-perf-install.patch \
+ file://patches/perf/4.19/tools-perf-python.patch \
"
KERNEL_PERF_PATCHES[5.4] ?= " \
file://patches/perf/5.4/tools-perf-version.patch \
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com> --- .../patches/perf/4.19/tools-perf-python.patch | 16 ++++++++++++++++ meta/recipes-kernel/linux/linux-tools.inc | 1 + 2 files changed, 17 insertions(+) create mode 100644 meta/recipes-kernel/linux/files/patches/perf/4.19/tools-perf-python.patch