diff options
Diffstat (limited to 'meta/recipes-kernel/perf/perf.bb')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index adefc44eaa..603d3f9eee 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -228,6 +228,12 @@ do_configure:prepend () { | |||
228 | sed -i -e 's,$(call get-executable-or-default\,PYTHON\,$(PYTHON_AUTO)),$(notdir $(call get-executable-or-default\,PYTHON\,$(PYTHON_AUTO))),g' \ | 228 | sed -i -e 's,$(call get-executable-or-default\,PYTHON\,$(PYTHON_AUTO)),$(notdir $(call get-executable-or-default\,PYTHON\,$(PYTHON_AUTO))),g' \ |
229 | ${S}/tools/perf/Makefile.config | 229 | ${S}/tools/perf/Makefile.config |
230 | 230 | ||
231 | # likewise with this substitution. Kernels with commit 18f2967418d031a39 | ||
232 | # [perf tools: Use Python devtools for version autodetection rather than runtime] | ||
233 | # need this substitution for reproducibility. | ||
234 | sed -i -e 's,$(call get-executable-or-default\,PYTHON\,$(subst -config\,\,$(PYTHON_AUTO))),$(notdir $(call get-executable-or-default\,PYTHON\,$(subst -config\,\,$(PYTHON_AUTO)))),g' \ | ||
235 | ${S}/tools/perf/Makefile.config | ||
236 | |||
231 | # The following line: | 237 | # The following line: |
232 | # srcdir_SQ = $(patsubst %tools/perf,tools/perf,$(subst ','\'',$(srcdir))), | 238 | # srcdir_SQ = $(patsubst %tools/perf,tools/perf,$(subst ','\'',$(srcdir))), |
233 | # Captures the full src path of perf, which of course makes it not | 239 | # Captures the full src path of perf, which of course makes it not |